Kali Linux Purple: 'libgconf-2-4'パッケージをインストールできません

Kali Linux Purple: 'libgconf-2-4'パッケージをインストールできません

.NETを使用してKali Linux(紫色のバージョン)にSpotifyとDiscordをインストールしようとしていますapt install <package name/deb file>

しかし、依存関係の問題が発生しました。通常、Kaliはこれらの依存関係を自動的にインストールしますが、次のものはインストールできないようです。

libgconf-2-4

より多くの情報を提供するために、以下の追加情報を提供します。

└─$ 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

オンラインの多くの指示に従って手動でインストールしようとしましたが、sudo apt install libgconf-2-4パッケージが見つかりませんでした。

E: Unable to locate package libgconf-2-4

パッケージリストの更新を試み、システム全体を完全に更新することに成功しました。

└─$ 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

最後に、以下を使用して破損したインストールを修復してみました。

sudo apt --fix-broken install

これらの試みはすべて状況を進めませんでした。どんな助けでも大変感謝します。

ベストアンサー1

libgconf-2-4以前はカリから削除されました続いて8月7日Debian から削除。 Kaliはローリングリリースなので、パッケージをインストールする安定した方法はありません。技術的には、パッケージの以前のコピーをインストールしようとすることができますが、後で発生する可能性のある問題に対処する必要があります。

更新されたDiscordパッケージを待つか要求する必要があります。来月にリリースされるUbuntu 23.10では、ライブラリが利用できないことを考えると、それほど長く待つ必要はありません。

(Kaliは通常のディストリビューションではないので、ここにサードパーティのパッケージをインストールすることに頼ってはいけません。)

おすすめ記事