Kali Linux 2.0ではGpartをインストールできません

Kali Linux 2.0ではGpartをインストールできません

実行すると、apt-get install gpart次のメッセージが表示されます。

apt-get install gpart

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libpcap0.8 : Breaks: libpcap0.8:i386 (!= 1.4.0-2) but 1.8.1-3 is to be installed
 libpcap0.8:i386 : Breaks: libpcap0.8 (!= 1.8.1-3) but 1.4.0-2 is to be installed
 libpcap0.8-dev : Depends: libpcap0.8 (= 1.8.1-3) but 1.4.0-2 is to be installed
 tcpdump : Depends: libpcap0.8 (>= 1.5.1) but 1.4.0-2 is to be installed
 tshark : Depends: libpcap0.8 (>= 1.5.1) but 1.4.0-2 is to be installed
 wireshark-common : Depends: libpcap0.8 (>= 1.5.1) but 1.4.0-2 is to be installed
 wireshark-qt : Depends: libpcap0.8 (>= 1.5.1) but 1.4.0-2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

私は試した:

apt-get install -f
apt-get autoremove
apt-get purge

どんな提案がありますか?ところで、「libpcap」を削除してみましたが、まだ同じです...

ベストアンサー1

libpcapパッケージを強制的に削除してみてください。

# apt-get -f remove libpcap0.8 libpcap0.8-dev:i386 libpcap0.8-dev

それからgpartをインストールしてみてください。

# apt-get install gpart

おすすめ記事