balena-io / etcher

Flash OS images to SD cards & USB drives, safely and easily.
https://etcher.io/
Apache License 2.0
28.84k stars 2.05k forks source link

Cannot install on Ubuntu 23.10; unmet dependency gconf2 #4144

Open MorphZG opened 7 months ago

MorphZG commented 7 months ago

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

14kaitou commented 7 months ago

Try $sudo apt --fix-broken install

MorphZG commented 7 months ago

Try $sudo apt --fix-broken install

Nothing to fix since nothing was installed.

lurch commented 7 months ago

Duplicate of #4096 ?

Than someone proposed to add the repository

See #4059

scorninpc commented 7 months ago

Same on debian

Download the deb package here and install

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

csdougliss commented 4 months ago

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
aryzing commented 2 months ago

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

AgSpades commented 1 month ago

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

sam-txts commented 1 month ago

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

AgSpades commented 1 month ago

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.

sam-txts commented 1 month ago

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 commented 1 month ago

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.

aryzing commented 1 month ago

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

MorphZG commented 1 month ago

@aryzing should i edit the title once again?

lurch commented 1 month ago

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

TapTSEC-dev-2 commented 1 month ago

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

t-bosss commented 1 month ago

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

t-bosss commented 1 month ago

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

shourya28 commented 1 month ago

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!

TapTSEC-dev-2 commented 4 days ago

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 commented 4 days ago

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