client icon indicating copy to clipboard operation
client copied to clipboard

libgconf-2-4 is not available in Ubuntu 23.10

Open josteinaj opened this issue 1 year ago • 16 comments

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

josteinaj avatar Oct 27 '23 08:10 josteinaj

same here!

uxtops avatar Nov 10 '23 06:11 uxtops

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)

zheleznovster avatar Nov 11 '23 14:11 zheleznovster

It works! Thanks :+1:

josteinaj avatar Nov 13 '23 08:11 josteinaj

works

vladbairash avatar Nov 14 '23 09:11 vladbairash

thanks man!

uxtops avatar Nov 21 '23 03:11 uxtops

sick move bro

seanbethard avatar Dec 03 '23 03:12 seanbethard

works! thanks man

baim-kargo avatar Jan 26 '24 04:01 baim-kargo

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,

BlackChristianGeek avatar Feb 14 '24 00:02 BlackChristianGeek

This man is really genius

FatefulNur avatar Mar 30 '24 11:03 FatefulNur

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.

rsyring avatar Apr 11 '24 15:04 rsyring

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 avatar Apr 25 '24 21:04 compuguy

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

compuguy avatar Apr 27 '24 00:04 compuguy

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!

WilhelmFreiheitsberg avatar Apr 30 '24 17:04 WilhelmFreiheitsberg

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...

compuguy avatar Apr 30 '24 23:04 compuguy

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.

WilhelmFreiheitsberg avatar May 01 '24 10:05 WilhelmFreiheitsberg

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

RyanZim avatar Jun 05 '24 23:06 RyanZim