运行命令时sudo apt install wireshark-qt
:
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-qt : Depends: libqt5multimedia5 (>= 5.0.2) but it is not installable
Depends: libwireshark11 (>= 2.5.1) but it is not going to be installed
Depends: libwscodecs2 (>= 2.5.0) but it is not going to be installed
Depends: wireshark-common (= 2.6.8-1~ubuntu16.04.0) but it is not going to be installed
Recommends: libqt5multimedia5-plugins but it is not installable
E: Unable to correct problems, you have held broken packages.
答案1
我建议运行以下命令...
sudo rm /var/cache/apt/archives/* -vf
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get autoremove -y
如果上述出现任何错误,请告诉我。