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.

Missing dependency in AppImage: libgconf-2

See original GitHub issue
  • Etcher version: 1.0.0. build 19
  • Operating system and architecture: Ubuntu 17.04 on a 64 bit HP computer
  • Do you see any meaningful error information on DevTools? Etcher won’t work on the new Ubuntu 17.04 OS Rich Prim

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:37 (12 by maintainers)

github_iconTop GitHub Comments

20reactions
lurchcommented, Apr 19, 2017

I’ve been doing some experimentation in VirtualBox instances running the LiveCD versions of Ubuntu 16.10 and 17.04, and I believe I’ve tracked down the problem. In Ubuntu 16.10 and below, the libgconf package is a requirement of the ubuntu-desktop package, which means that it’s always available. However in Ubuntu 17.04 libgconf isn’t required by the ubuntu-desktop package, which means that it isn’t installed by default. In turn, that means attempting to run Etcher on a default install of Ubuntu 17.04 fails with:

/tmp/.mount_mMxWX5/usr/bin/etcher: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

(gconf is listed as an Etcher pre-requisite at https://github.com/resin-io/etcher/blob/master/docs/USER-DOCUMENTATION.md#runtime-gnulinux-dependencies ) Additionally, in Ubuntu 17.04 libgconf-2-4 has moved from Section: libs to Section: universe/libs.

So @richprim to get Etcher working in Ubuntu 17.04 you need to go into the “Software & Updates” application in Ubuntu’s “System Settings” section, enable the “Community-maintained free and open-source software (universe)” option, close that dialog and Reload the software index, and then once that’s finished open up a Terminal window and type:

sudo apt-get install -y libgconf-2-4

and then you should finally find that Etcher now works as expected! (but please let us know if it still doesn’t work). Apologies for the inconvenience.

@jviotti This reminds me very much of #835 but I guess unfortunately for us Ubuntu 17.04 is likely to be much more widely used than Fedora 25 😕

EDIT: Just done a quick bit of research, and found you can do all the above steps in a one-liner:

sudo add-apt-repository universe && sudo apt-get update && sudo apt-get install -y libgconf-2-4
1reaction
thundroncommented, Dec 31, 2018

@probonopd That requires a rework of our CI too so it might not be a quick fix, but we’ll look into it for sure and in the meantime let’s hope that the new Electron version(s) fixes it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing the Unity Hub - Unity Manual
If Unity fails to start, you might need to install a missing dependency. On Ubuntu-based distributions, use: sudo apt install libgconf-2-4.
Read more >
Troubleshooting — appimage-builder 1.0.0 documentation
The first thing to check when Appimage is created is the .bundle.yml file. ... then too look for missing packages or undesired external...
Read more >
shared libraries libgconf-2.so.4 is missing - Stack Overflow
Tried but now ran into another dependency issue - /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./chromedriver) . – ...
Read more >
BalenaEtcher 1.5.66 wont launch : r/debian - Reddit
The dependency is missing (libgconf2-4), but when I try to install it, it says it couldn't locate that package.
Read more >
Etcher won't run / GUI & Applications / BunsenLabs Linux ...
AppImage. When I click on it nothing happens. I followed all the advice online regarding missing dependencies but it turns out all those ......
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