我正在尝试在 Debian(Debian 3.2.51-1)上安装 Wireshark,但出现此错误:
apt-get install wireshark
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
wireshark : Depends: libwireshark2 (>= 1.8.0~rc1-1) but it is not going to be installed
Depends: wireshark-common (= 1.8.2-5wheezy10) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
答案1
尝试以下一系列命令:
$ sudo apt-get clean
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install wireshark