etcher: libgconf-2.so.4 missing on Ubuntu 18.02 Beta

On ubuntu-18.04-beta2-desktop-amd64.iso getting

me@host:~$ /isodevice/Applications/etcher-1.3.1-x86_64.AppImage 
3654
/tmp/.mount_OjZb9X/usr/bin/etcher-electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 10
  • Comments: 18 (4 by maintainers)

Most upvoted comments

Error can be worked around by

sudo apt -y install libgconf2-4

Proper solution is to get rid of the dependency, or bundle it.

on ubuntu 19.04 Package ‘libgconf2-4’ has no installation candidate

apt-get install libgconf-2-4

on ubuntu 19.04 Package ‘libgconf2-4’ has no installation candidate

@Quintanar777 Oooh, that’s interesting. Looks like in 16.04, 18.04 and 18.10 Ubuntu provide a libgconf2-4 dummy package (which presumably depends on the real libgconf-2-4 package), but from 19.04 onwards Ubuntu only provides a libgconf-2-4 package and not a libgconf2-4 package.

EDIT: Fortunately, my old comment I linked to above was already using the “real” libgconf-2-4 package name 😃

Maybe you can try this ‘sudo apt-get --fix-broken install’ ‘sudo apt-get install libgconf-2-4:i386’ or ‘sudo apt-get install libgconf-2-4:arm64’

Error can be worked around by

sudo apt -y install libgconf2-4

Proper solution is to get rid of the dependency, or bundle it.

forgot a hyphen sudo apt-get install libgconf-2-4

Maybe you can try this ‘sudo apt-get --fix-broken install’ ‘sudo apt-get install libgconf-2-4:i386’ or ‘sudo apt-get install libgconf-2-4:arm64’

‘sudo apt --fix-broken install’ worked for me

Does libgconf2-4 package just pull in libgconf-2-4 or does it do anything else?

On Ubuntu 14.04…

$ dpkg -L libgconf2-4
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libgconf2-4
/usr/share/doc/libgconf2-4/copyright
/usr/share/doc/libgconf2-4/NEWS.Debian.gz
/usr/share/doc/libgconf2-4/NEWS.gz
/usr/share/doc/libgconf2-4/AUTHORS
/usr/share/doc/libgconf2-4/changelog.Debian.gz
/usr/share/doc/libgconf2-4/README
/usr/share/doc/libgconf2-4/TODO

and the output of apt-cache show libgconf2-4 includes “This package is here to ensure smooth upgrades. It can be removed when you see fit.”.