Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on Ubuntu 23.10; unmet dependency gconf2 #4144

Open
MorphZG opened this issue Dec 6, 2023 · 20 comments
Open

Cannot install on Ubuntu 23.10; unmet dependency gconf2 #4144

MorphZG opened this issue Dec 6, 2023 · 20 comments

Comments

@MorphZG
Copy link

MorphZG commented Dec 6, 2023

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: #4144 (comment)

@14kaitou
Copy link

14kaitou commented Dec 6, 2023

Try $sudo apt --fix-broken install

@MorphZG
Copy link
Author

MorphZG commented Dec 6, 2023

Try $sudo apt --fix-broken install

Nothing to fix since nothing was installed.

@lurch
Copy link
Contributor

lurch commented Dec 6, 2023

Duplicate of #4096 ?

Than someone proposed to add the repository

See #4059

@scorninpc
Copy link

Same on debian

Download the deb package here and install

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

@csdougliss
Copy link

csdougliss commented Mar 8, 2024

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
Copy link

aryzing commented May 14, 2024

dupe #4096

@AgSpades
Copy link

AgSpades commented Jun 9, 2024

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

@MorphZG MorphZG changed the title Cannot install on Ubuntu 23.10; unmet dependency gconf2 [SOLVED] Cannot install on Ubuntu 23.10; unmet dependency gconf2 Jun 9, 2024
@sam-txts
Copy link

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

@AgSpades
Copy link

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
Copy link

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
Copy link

sam-txts commented Jun 14, 2024

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
Copy link

aryzing commented Jun 14, 2024

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

@MorphZG
Copy link
Author

MorphZG commented Jun 15, 2024

@aryzing should i edit the title once again?

@lurch
Copy link
Contributor

lurch commented Jun 15, 2024

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

@MorphZG MorphZG changed the title [SOLVED] Cannot install on Ubuntu 23.10; unmet dependency gconf2 Cannot install on Ubuntu 23.10; unmet dependency gconf2 Jun 18, 2024
@TapTSEC-dev-2
Copy link

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
Copy link

t-bosss commented Jun 22, 2024

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

@t-bosss
Copy link

t-bosss commented Jun 22, 2024

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

@shourya28
Copy link

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests