question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install due to unmet dependency libgconf2-4

See original GitHub issue

The .deb will not install using dpkg -i ob-filename.deb followed by apt-get install -f. Instead, the output below is displayed after using apt-get. This seems to be a change in package naming yet while the package still exists under a new name, OB isn’t recognizing that it can use the new package name instead.

This is happening on Debian 10. There is a related issue (#1205) with a solution that does not work with Debian 10.

Output of dpkg -i openbazaar2_2.2.25_amd64.deb; apt-get install -f

dpkg -i openbazaar2_2.2.5_amd64.deb 
Selecting previously unselected package openbazaar2.
(Reading database ... 144866 files and directories currently installed.)
Preparing to unpack openbazaar2_2.2.5_amd64.deb ...
Unpacking openbazaar2 (2.2.5-1) ...
dpkg: dependency problems prevent configuration of openbazaar2:
 openbazaar2 depends on libgconf2-4; however:
  Package libgconf2-4 is not installed.

dpkg: error processing package openbazaar2 (--install):
 dependency problems - leaving unconfigured
Processing triggers for mime-support (3.61) ...
Errors were encountered while processing:
 openbazaar2

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
JasonRavelingcommented, Nov 20, 2018

Alright, found a solution. Although, I’m hoping future versions will be able to decipher this mess if possible. Its the same package with a different name, depending on distro and/or version of distro. The solution below, required the .deb to be extracted and modified.

Note: you’ll probably want to create a new directory to use temporarily, since this will produce multiple files in one directory.

ar x openbazaar2_2.2.5_amd64.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.gz
sudo dpkg -i openbazaar2_2.2.5_amd64-FIXED.deb
3reactions
premekcommented, Jan 23, 2019

wouldn’t it make sense to replace libgconf2-4 dependency with libgconf-2-4 as libgconf2-4 is a ‘dummy package’?

Read more comments on GitHub >

github_iconTop Results From Across the Web

code: Depends: libgconf-2-4 but it is not installed
I understand that the error is saying whatever I'm running depends on libgconf-2-4 and that doesn't currently exist, but shouldn't Debian ...
Read more >
E: Unable to correct dependencies in Unubtu 18.04 LTS
The following packages have unmet dependencies: mongodb-compass : Depends: libgconf-2-4 but it is not installed or libgconf2-4 but it is not ...
Read more >
Download mongodb compass and Install Using the Terminal
First of all, you need to fix broken installs by running the flowing command. sudo apt --fix-broken install · After that, install libgconf-2-4....
Read more >
Error with installing NVIDIA SDK Manager ...you have held ...
Some packages could not be installed. ... The following packages have unmet dependencies: ... Thanks for setting me straight! :).
Read more >
Fresh Install of Lubuntu - Can't Install Discord - Ubuntu Forums
The following packages have unmet dependencies: discord:amd64 : Depends: libc6:amd64 but it is not installable
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found