当我运行时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