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.

ipfs-desktop 0.4.0 bugs with debian package

See original GitHub issue
$ sudo dpkg -i ipfs-desktop_0.4.0_amd64.deb 
Selecting previously unselected package ipfs-desktop.
(Reading database ... 210948 files and directories currently installed.)
Preparing to unpack ipfs-desktop_0.4.0_amd64.deb ...
Unpacking ipfs-desktop (0.3.0-1) ...
dpkg: dependency problems prevent configuration of ipfs-desktop:
 ipfs-desktop depends on libgconf2-4; however:
  Package libgconf2-4 is not installed.

dpkg: error processing package ipfs-desktop (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 ipfs-desktop

Note the weird “0.3.0-1” versioning in the process, and the warning about a missing library. dpkg -l indicates that 0.3.0-1 is the one that was installed (forgot to change the version somewhere?)

When I run ipfs-desktop, an error message pops up asking me to read the error.log but the error.log has not been created yet.

Running sudo apt-get install libgconf2-4 fixes the problem.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
hacdiascommented, Mar 26, 2018

Thanks @kyledrake I think I forgot to update the version in package.json and it ended up building with v0.3.0 on it. I’ll update the binaries ASAP 😄

0reactions
lidelcommented, Mar 30, 2018

Ok, I see now why it worked for me and not for Kyle. I was using apt install.

AFAIK dpkg -i does not install deps. It fails if any of dependencies are missing and that is expected behaviour of that tool. If you want to install missing deps automatically, you need to follow it with apt-get -f install or use modern apt install.

Starting with apt 1.1 (Ubuntu 16.04, Debian Stretch) apt install allows local files and now became the default way to install .deb

@kyledrake Give it a try, it does the same job as dpkg + apt-get but with one clean command:

sudo apt install ./ipfs-desktop_0.4.0_amd64.deb

I’ve added this note to Release Notes and to README in PR #634.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debian BTS - reporting bugs
You need to know what package your bug report should be filed against. See this example for information on how to find this...
Read more >
Bugs in package wireplumber (version 0.4.13-1) in unstable
Debian Bug report logs: Bugs in package wireplumber (version 0.4.13-1) in unstable ; Outstanding bugs -- Important bugs; Unclassified (2 bugs) ; Outstanding...
Read more >
Bugs in package php-imagick (version 3.7.0-2) in unstable
Debian Bug report logs: Bugs in package php-imagick (version 3.7.0-2) in unstable · Outstanding bugs -- Normal bugs; Unclassified (3 bugs) · Outstanding...
Read more >
Bugs in package apt (version 2.5.4) in unstable
Debian Bug report logs: Bugs in package apt (version 2.5.4) in unstable · Outstanding bugs -- Important bugs; Confirmed (3 bugs) · Outstanding...
Read more >
Debian Bug report logs - #198507 debhelper: fails if file name ...
Package : debhelper Version: 4.1.45 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, dh_install has problems handling files listed in ...
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