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

libgconf-2-4 is not available in Ubuntu 23.10 #25984

Open
josteinaj opened this issue Oct 27, 2023 · 15 comments · May be fixed by #26149
Open

libgconf-2-4 is not available in Ubuntu 23.10 #25984

josteinaj opened this issue Oct 27, 2023 · 15 comments · May be fixed by #26149

Comments

@josteinaj
Copy link

Running:

LANG=en sudo apt install ./keybase_amd64.deb

…gives the output:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'keybase' instead of './keybase_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 keybase : Depends: libgconf-2-4 but it is not installable
E: Unable to correct problems, you have held broken packages.

I'm running Ubuntu 23.10. I've run apt update && apt upgrade. I've also enabled universe (as was suggested somewhere) using add-apt-repository universe. But it seems that libgconf-2-4 is just not available in Ubuntu 23.10.

According to control/control in the deb file, the version I'm trying to install is: 6.2.3-20231016183016.06cb935ee3

@uxtops
Copy link

uxtops commented Nov 10, 2023

same here!

@zheleznovster
Copy link

zheleznovster commented Nov 11, 2023

add this line to your /etc/apt/sources.list

deb http://cz.archive.ubuntu.com/ubuntu lunar main universe

then sudo apt update

and then re-run

sudo apt install ./keybase_amd64.deb

keybase now should work.

then you can probably safely remove the line you added to your sources.list and then sudo apt update

(nevermind the update warnings, keybase still works afterwards)

@josteinaj
Copy link
Author

It works! Thanks 👍

@vladbairash
Copy link

works

@uxtops
Copy link

uxtops commented Nov 21, 2023

thanks man!

@seanbethard
Copy link

sick move bro

@RyanZim RyanZim linked a pull request Jan 9, 2024 that will close this issue
@baim-kargo
Copy link

works! thanks man

@BlackChristianGeek
Copy link

add this line to your /etc/apt/sources.list

deb http://cz.archive.ubuntu.com/ubuntu lunar main universe

then sudo apt update

and then re-run

sudo apt install ./keybase_amd64.deb

keybase now should work.

then you can probably safely remove the line you added to your sources.list and then sudo apt update

(nevermind the update warnings, keybase still works afterwards)

I have no idea how you figured this out, yet I'm grateful because it worked for me, too. Thanks, and God bless,

@FatefulNur
Copy link

This man is really genius

@rsyring
Copy link

rsyring commented Apr 11, 2024

IMO, its easier to do this manually:

wget -q http://mirrors.kernel.org/ubuntu/pool/universe/g/gconf/libgconf-2-4_3.2.6-8ubuntu1_amd64.deb
wget -q http://mirrors.kernel.org/ubuntu/pool/universe/g/gconf/gconf2-common_3.2.6-8ubuntu1_all.deb
sudo apt update 
sudo apt install ./gconf2-common_3.2.6-8ubuntu1_all.deb ./libgconf-2-4_3.2.6-8ubuntu1_amd64.deb

Now you can install Keybase per their install instructions.

@compuguy
Copy link

compuguy commented Apr 25, 2024

Yeah this issue has gotten a bit more complicated. Keybase now depends on two more deprecated packages on top of libgconf and gconf2-common:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 keybase : Depends: libappindicator1 but it is not installable or
                    libayatana-appindicator1 but it is not installable
E: Unable to correct problems, you have held broken packages.
wget -q http://mirrors.edge.kernel.org/ubuntu/pool/universe/liba/libappindicator/libappindicator1_12.10.1%2B20.10.20200706.1-0ubuntu1_amd64.deb
wget -q http://mirrors.edge.kernel.org/ubuntu/pool/universe/liba/libayatana-appindicator/libayatana-appindicator1_0.5.92-1_amd64.deb

Update: It's not just 2 more packages. It basically turns into dependency hell. I think you can say that Ubuntu 23.10 is the last Ubuntu version supported for Keybase.

@compuguy
Copy link

Hoping either #26149 or #26525 fixes some of these issues so its can be used on Ubuntu 24.10......

@WilhelmFreiheitsberg
Copy link

add this line to your /etc/apt/sources.list

deb http://cz.archive.ubuntu.com/ubuntu lunar main universe

then sudo apt update

and then re-run

sudo apt install ./keybase_amd64.deb

keybase now should work.

then you can probably safely remove the line you added to your sources.list and then sudo apt update

(nevermind the update warnings, keybase still works afterwards)

That's my boy! Work like a charm!

@compuguy
Copy link

add this line to your /etc/apt/sources.list

deb http://cz.archive.ubuntu.com/ubuntu lunar main universe

then sudo apt update

and then re-run

sudo apt install ./keybase_amd64.deb

keybase now should work.

then you can probably safely remove the line you added to your sources.list and then sudo apt update

(nevermind the update warnings, keybase still works afterwards)

That's my boy! Work like a charm!

Then you immediately have to remove/comment out that repo line, otherwise beware of dragons...and apt package conflicts...

@WilhelmFreiheitsberg
Copy link

add this line to your /etc/apt/sources.list
deb http://cz.archive.ubuntu.com/ubuntu lunar main universe
then sudo apt update
and then re-run
sudo apt install ./keybase_amd64.deb
keybase now should work.
then you can probably safely remove the line you added to your sources.list and then sudo apt update
(nevermind the update warnings, keybase still works afterwards)

That's my boy! Work like a charm!

Then you immediately have to remove/comment out that repo line, otherwise beware of dragons...and apt package conflicts...

Ohh that's what I did immediately, but thank you for remind it!

I am aware that it's a workaround till Keybase fix it.

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

Successfully merging a pull request may close this issue.

13 participants