etcher icon indicating copy to clipboard operation
etcher copied to clipboard

Cannot install on Ubuntu 23.10; unmet dependency gconf2

Open MorphZG opened this issue 1 year ago • 23 comments

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

MorphZG avatar Dec 06 '23 09:12 MorphZG

Try $sudo apt --fix-broken install

14kaitou avatar Dec 06 '23 09:12 14kaitou

Try $sudo apt --fix-broken install

Nothing to fix since nothing was installed.

MorphZG avatar Dec 06 '23 09:12 MorphZG

Duplicate of #4096 ?

Than someone proposed to add the repository

See #4059

lurch avatar Dec 06 '23 13:12 lurch

Same on debian

Download the deb package here and install

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

scorninpc avatar Dec 15 '23 13:12 scorninpc

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

csdougliss avatar Mar 08 '24 09:03 csdougliss

dupe https://github.com/balena-io/etcher/issues/4096

aryzing avatar May 14 '24 22:05 aryzing

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

AgSpades avatar Jun 09 '24 13:06 AgSpades

well for some reason it wont work for me Screenshot_20240614_223918-1

sam-txts avatar Jun 14 '24 17:06 sam-txts

well for some reason it wont work for me Screenshot_20240614_223918-1

Did you check whether the .rpm file is present inside the directory you are working on? If not, download .rpm file from the releases page and try again.

AgSpades avatar Jun 14 '24 17:06 AgSpades

it was in the same directory. i even reinstalled the rpm but still it shows the same error. i use kubuntu 24.04

sam-txts avatar Jun 14 '24 17:06 sam-txts

it was in the same directory. i even reinstalled the rpm but still it shows the same error. i use kubuntu 24.04

might i try reinstalling that alien thingy how do i do so, im new to this.

sam-txts avatar Jun 14 '24 17:06 sam-txts

@MorphZG seems the proposal above is more of a workaround than a solution?

aryzing avatar Jun 14 '24 20:06 aryzing

@aryzing should i edit the title once again?

MorphZG avatar Jun 15 '24 06:06 MorphZG

@sam-txts WRT dl.bintray.com/etcher and deb.etcher.io see #4059

lurch avatar Jun 15 '24 14:06 lurch

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

TapTSEC-dev-2 avatar Jun 20 '24 06:06 TapTSEC-dev-2

In my case it gets open and closed at the same time

t-bosss avatar Jun 22 '24 23:06 t-bosss

I'm trying Ubuntu 24.04 LTS and get the same error to wireguard-gui

t-bosss avatar Jun 22 '24 23:06 t-bosss

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

This worked for me. Thanks!

shourya28 avatar Jun 24 '24 05:06 shourya28

I'm trying Ubuntu 24.04 LTS and get the same error to wireguard-gui

try getting ProtonVPN, it has WireGuard built in

TapTSEC-dev-2 avatar Jul 23 '24 04:07 TapTSEC-dev-2

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

This worked for me. Thanks!

no problem! im so glad i could help :p

TapTSEC-dev-2 avatar Jul 23 '24 04:07 TapTSEC-dev-2

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

bas-kirill avatar Aug 09 '24 19:08 bas-kirill