安装iptables报错

安装ittables报错:
apt-get install iptables
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:
iptables : Depends: libip4tc2 (= 1.8.4-3ubuntu2) but 1.8.4-3ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
解决方案:
apt-get install libip4tc2=1.8.4-3ubuntu2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
libip4tc2
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.

posted @ 2024-04-19 14:19  jacknituanxiong  阅读(417)  评论(0)    收藏  举报