Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on Ubuntu 19.04 due to missing dependency #362

Open
schroeshirecat opened this issue May 12, 2019 · 2 comments
Open

Cannot install on Ubuntu 19.04 due to missing dependency #362

schroeshirecat opened this issue May 12, 2019 · 2 comments

Comments

@schroeshirecat
Copy link

So I tried installling the QRL walltet on Ubuntu 19.04. But the installation bails out with an error message:

sudo dpkg -i qrl-wallet-1.1.1.deb
Selecting previously unselected package qrl-wallet.
(Reading database ... 378152 files and directories currently installed.)
Preparing to unpack qrl-wallet-1.1.1.deb ...
Unpacking qrl-wallet (1.1.1-1) ...
dpkg: dependency problems prevent configuration of qrl-wallet:
 qrl-wallet depends on libgconf2-4; however:
  Package libgconf2-4 is not installed.

dpkg: error processing package qrl-wallet (--install):
 dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-4ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 qrl-wallet

On Ubuntu 19.04 there is a package called libgconf-2-4 (which I installed) but not one with name libgconf2-4.
Apparently QRL is not the only package with this issue, see here: OpenBazaar/openbazaar-desktop#1608

Any ideas how to fix or work around this?

@schroeshirecat
Copy link
Author

OK, so the fix from OpenBazaar works for QRL too:

ar x qrl-wallet-1.1.1.deb
tar xzf control.tar.gz
sed -i s/libgconf2-4/libgconf-2-4/ control
tar --ignore-failed-read -cvzf control.tar.gz {post,pre}{inst,rm} md5sums control
ar rcs openbazaar2_2.2.5_amd64-FIXED.deb debian-binary control.tar.gz data.tar.xz
sudo dpkg -i qrl-wallet-1.1.1.deb-FIXED.deb

@ghost
Copy link

ghost commented Feb 21, 2020

@schroeshirecat Thanks!
Had the same issue with v1.2.0 and was able to fix it with your commands.
The fix for v1.2.0:
ar x qrl-wallet-1.2.0.deb
tar xzf control.tar.gz
sed -i s/libgconf2-4/libgconf-2-4/ control
tar --ignore-failed-read -cvzf control.tar.gz {post,pre}{inst,rm} md5sums control
ar rcs qrl-wallet-1.2.0.deb-FIXED.deb debian-binary control.tar.gz data.tar.xz
sudo dpkg -i qrl-wallet-1.2.0.deb-FIXED.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant