installing libgconf-2-4 on ubuntu
Asked Answered
T

4

9

Today I made a ubuntu bootable on an usb drive. I wanted to download discord for my ubuntu and downloaded the file from the discord website. However when I tried to install i got missing dependencies error. The error is:

dpkg: dependency problems prevent configuration of discord:
 discord depends on libatomic1; however:
  Package libatomic1 is not installed.
 discord depends on libgconf-2-4; however:
  Package libgconf-2-4 is not installed.
 discord depends on libappindicator1; however:
  Package libappindicator1 is not installed.
 discord depends on libc++1; however:
  Package libc++1 is not installed.

When i tried to install libgconf-2-4 i got another error:

Package libgconf-2-4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgconf-2-4' has no installation candidate

How do I fix this problem?

Tiffin answered 8/11, 2021 at 8:29 Comment(2)
I had the same issues when downloading the file directly from the discord website. I ended up following this linuxconfig.org/…Guenevere
Probably sudo add-apt-repository universe ............ and sudo apt update .... to install "universe" packages packages.ubuntu.com/focal/libgconf-2-4Deron
V
13

In my case, I'm using ubuntu 20.04 and i did it with below two commands

apt install libgconf-2-4

if it is broken then execute below command

apt --fix-broken install
Velocity answered 5/11, 2022 at 8:1 Comment(0)
E
3

I'm on ubuntu version 23.10, and the solution I found was to manually install these deb packages and unpack them in the following order:

  • sudo dpkg -i gconf2-common_3.2.6-5_all.deb
  • sudo dpkg -i libgconf-2-4_3.2.6-5_amd64.deb
  • sudo dpkg -i sdkmanager_2.0.0-11405_amd64.deb

I hope this helps!

Envoi answered 27/1 at 19:1 Comment(0)
F
1

while installing it it shows this

Get:3 http://deb.debian.org/debian oldstable/main amd64 libgconf-2-4 amd64 3.2.6-7 [428 kB]
Get:4 http://deb.debian.org/debian oldstable/main amd64 libldap-2.4-2 amd64 2.4.57+dfsg-3+deb11u1 [232 kB]

there fore hence:

cd etc/apt/sources.list 

is the problem when you comment out or when the command below is not included in your souces

deb http://deb.debian.org/debian oldstable main non-free contrib
Fructose answered 11/9, 2023 at 13:14 Comment(0)
H
0

I'm using ubuntu 22.04 and command below fixed it for me

apt --fix-broken install
Huei answered 25/4, 2023 at 8:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.