keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.91k stars 1.23k forks source link

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

Open josteinaj opened 1 year ago

josteinaj commented 1 year ago

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

same here!

zheleznovster commented 1 year ago

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

It works! Thanks :+1:

vladbairash commented 1 year ago

works

uxtops commented 12 months ago

thanks man!

seanbethard commented 11 months ago

sick move bro

baim-kargo commented 9 months ago

works! thanks man

BlackChristianGeek commented 9 months ago

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

This man is really genius

rsyring commented 7 months ago

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 commented 6 months ago

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 commented 6 months ago

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

WilhelmFreiheitsberg commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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.

RyanZim commented 5 months ago

Fixed in https://github.com/keybase/client/pull/26971 and released in v6.3.1; confirmed working on Ubuntu 23.10.