etcher: Cannot install on Ubuntu 23.10; unmet dependency gconf2

I am running Ubuntu 23.10. Trying to install Balena Etcher, downloaded few latest .deb releases but also tried with 1.17.0. Tried to install downloaded package with:

sudo apt install ./balena-etcher_1.17.0_amd64.deb

Than someone proposed to add the repository with command below and than try to install

curl -1sLf  'https://dl.cloudsmith.io/public/balena/etcher/setup.deb.sh'  |  sudo -E bash

In the end i always get the following error, saying there is unmet dependency gconf2. But it is unavailable

The following packages have unmet dependencies:
 balena-etcher : Depends: gconf-service but it is not installable
                 Depends: gconf2 but it is not installable
                 Depends: libgconf-2-4 but it is not installable

After trying to install gconf2:

Package 'gconf2' has no installation candidate

edit: Possible workaround Link to solution: https://github.com/balena-io/etcher/issues/4144#issuecomment-2156602606

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 6
  • Comments: 23 (2 by maintainers)

Most upvoted comments

This is also a problem on 24.04 daily (8/8/24):

sudo dpkg -i balena-etcher_1.19.5_amd64.deb 
Selecting previously unselected package balena-etcher.
(Reading database ... 212222 files and directories currently installed.)
Preparing to unpack balena-etcher_1.19.5_amd64.deb ...
Unpacking balena-etcher (1.19.5) ...
dpkg: dependency problems prevent configuration of balena-etcher:
 balena-etcher depends on gconf-service; however:
  Package gconf-service is not installed.
 balena-etcher depends on gconf2; however:
  Package gconf2 is not installed.
 balena-etcher depends on libgconf-2-4; however:
  Package libgconf-2-4 is not installed.
 balena-etcher depends on libgdk-pixbuf2.0-0; however:
  Package libgdk-pixbuf2.0-0 is not installed.

dpkg: error processing package balena-etcher (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu5) ...
Errors were encountered while processing:
 balena-etcher

Install balenaEtcher in debian systems (ubuntu)

create temporary folder for install dependencies

sudo su
cd /tmp/ &&
mkdir /tmp/balenaServiceTmp &&
cd /tmp/balenaServiceTmp

download dependencies

wget http://security.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.5-0_2.5.16+dfsg-0ubuntu0.22.04.2_amd64.deb >> libldap.deb
wget http://ftp.de.debian.org/debian/pool/main/g/gconf/gconf2-common_3.2.6-8_all.deb 
wget http://ftp.de.debian.org/debian/pool/main/g/gconf/libgconf-2-4_3.2.6-8_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/g/gconf/gconf2_3.2.6-8_amd64.deb 
wget http://ftp.de.debian.org/debian/pool/main/g/gconf/gconf-service_3.2.6-8_amd64.deb 

install dependencies

sudo dpkg -1 libldap.deb
sudo dpkg -i gconf2-common_3.2.6-8_all.deb 
sudo dpkg -i libgconf-2-4_3.2.6-8_amd64.deb 
sudo dpkg -i gconf-service_3.2.6-8_amd64.deb
sudo dpkg -i gconf2_3.2.6-8_amd64.deb 

download & install balenaEtcher

wget https://github.com/balena-io/etcher/releases/download/v1.19.22/balena-etcher_1.19.22_amd64.deb >> balenaEtcher.deb
sudo apt install ./balenaEtcher.deb

remove temporary folder

sudo rm -rf /tmp/balenaServiceTmp

run balenaEtcher

balena-etcher

SIMPLE ANSWER! run it as sudo apt --fix-broken install ./balena-etcher(version id here).deb but make sure you have the bookworm repo in your sources beforehand! :p

Try $sudo apt --fix-broken install

wget http://ftp.de.debian.org/debian/pool/main/g/gconf/gconf2-common_3.2.6-8_all.deb && wget http://ftp.de.debian.org/debian/pool/main/g/gconf/libgconf-2-4_3.2.6-8_amd64.deb && wget http://ftp.de.debian.org/debian/pool/main/g/gconf/gconf2_3.2.6-8_amd64.deb && wget http://ftp.de.debian.org/debian/pool/main/g/gconf/gconf-service_3.2.6-8_amd64.deb && sudo dpkg -i gconf2-common_3.2.6-8_all.deb && sudo dpkg -i libgconf-2-4_3.2.6-8_amd64.deb && sudo dpkg -i gconf-service_3.2.6-8_amd64.deb && sudo dpkg -i gconf2_3.2.6-8_amd64.deb && rm -rf *conf*.deb

And installing deb from there:

  http://security.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.5-0_2.5.16+dfsg-0ubuntu0.22.04.2_amd64.deb

solved the issue


before: image

after: image image

@aryzing should i edit the title once again?

I am using Kali Linux. Since it’s a debian based distro, I faced the same problem as you while trying to install the .deb file downloaded from the balena-io etcher’s releases page.

The App Image file didn’t work for me either. So I tried to look for a way around.

I have managed to find a solution. Instead of downloading the .deb package, download the .rpm package and convert into .deb using alien.

Install the alien package using the following command:

sudo apt update
sudo apt install alien

Now navigate to the directory you have the .rpm package. And run the following command:

sudo alien balena-etcher-1.19.21-1.x86_64.rpm

It will take a while. Now install the .deb package that has been generated.

sudo dpkg -i balena-etcher_1.19.21-2_amd64.deb 

Et voila.

image

Finally!

image

Same on debian

Download the deb package here and install

https://packages.debian.org/bookworm/amd64/gconf2/download