etcher: Missing dependency in AppImage: libgconf-2
- 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
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 37 (12 by maintainers)
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
libgconfpackage is a requirement of theubuntu-desktoppackage, which means that it’s always available. However in Ubuntu 17.04libgconfisn’t required by theubuntu-desktoppackage, 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:(
gconfis 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.04libgconf-2-4has moved fromSection: libstoSection: 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:
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:
We’re investigating this, as you can see here though we might not be able to do anything about it, since we already package all the needed dependencies when building the AppImage, including the correct libgconf. We’re working on upgrading Electron to solve many other issues so this might be one that will benefit from it as well, given they fix it there.
I see an error box popping up saying “expected a number” when I execute etcher… anyone getting the same issue?
OS : Ubuntu MATE 18.04.
Still
Please do fix this; the fix is easy and this is getting annoying. Thanks!
Released Ubuntu 18.04 Desktop amd64 is also affected.
ubuntu-18.04-beta2-desktop-amd64.isois also affected.@lurch Amazing research!
libgconf-2-4is already listed as a dependency for the debian package (https://github.com/resin-io/etcher/blob/master/scripts/build/debian/config.json#L23), so I guess this only affects AppImages.Do you know of any way we can prevent this from happening? Otherwise, would you mind updating the installation instructions to include that one liner that installs the package?