Sample Header Ad - 728x90

Kali Linux Purple: Unable to install 'libgconf-2-4' package

-1 votes
2 answers
3696 views
I am attempting to install Spotify and Discord on my Kali Linux (Purple Edition) using apt install . However i ran into dependency issues. Typically, Kali would install these dependencies automatically but it appears that it was impossible to install this dependency: libgconf-2-4 To provide more information here are some additional information:
└─$ sudo apt install ./discord-0.0.29.deb                                                       
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'discord' instead of './discord-0.0.29.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:
 discord : Depends: libgconf-2-4 but it is not installable
           Recommends: libappindicator1 but it is not installable or
                       libayatana-appindicator1 but it is not installable
E: Unable to correct problems, you have held broken packages.
└─$ lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description:    Kali GNU/Linux Rolling
Release:        2023.3
Codename:       kali-rolling
└─$ sudo cat /etc/apt/sources.list                                                                                                           
# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/ 
deb http://http.kali.org/kali  kali-rolling main contrib non-free non-free-firmware

# Additional line for source packages
# deb-src http://http.kali.org/kali  kali-rolling main contrib non-free non-free-firmware
I tried to install it manually by sudo apt install libgconf-2-4 as many instructions online told to do so but it results in the package not being found: E: Unable to locate package libgconf-2-4 I have tried to update the package list as well as fully update the entire system with success:
└─$ sudo apt update && sudo apt full-upgrade -Vy && sudo apt autoremove -y && sudo apt autoclean
Hit:1 http://repository.spotify.com  stable InRelease                                                                                                                                  
Hit:2 http://mirror.aktkn.sg/kali  kali-rolling InRelease                                                                                                                              
Hit:3 https://packages.microsoft.com/repos/code  stable InRelease                                                                    
Ign:4 https://repo.hotspotshield.com/deb/rel/all  release InRelease                                                                 
Hit:5 https://repo.hotspotshield.com/deb/rel/all  release Release              
Ign:6 https://repo.hotspotshield.com/deb/rel/all  release Release.gpg
Hit:7 https://artifacts.elastic.co/packages/8.x/apt  stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
And finally, I tried to fix broken installs by using:
sudo apt --fix-broken install
All these attempts did not progress the situation. Any help is highly appreciated.
Asked by edenfrey (3 rep)
Sep 3, 2023, 04:29 AM
Last activity: Sep 14, 2023, 09:03 PM