如何使用 apt 升级 iptables 版本

如何使用 apt 升级 iptables 版本

我的iptables版本是v1.6.1。如何升级?
我尝试过:

root@ubuntu:~# apt update iptables
E: The update command takes no arguments

root@ubuntu:~#b apt upgrade iptables
Reading package lists... Done
Building dependency tree
Reading state information... Done
iptables is already the newest version (1.6.1-2ubuntu2).
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libshishi0 linux-aws-5.4-headers-5.4.0-1037 linux-aws-5.4-headers-5.4.0-1038 linux-aws-5.4-headers-5.4.0-1039
  linux-aws-5.4-headers-5.4.0-1041 linux-aws-5.4-headers-5.4.0-1043 linux-aws-5.4-headers-5.4.0-1045
  linux-aws-5.4-headers-5.4.0-1047 linux-aws-5.4-headers-5.4.0-1048 shishi-common tcpd
Use 'apt autoremove' to remove them.
The following packages have been kept back:
  docker-ce
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

但之后,我检查了版本,但仍然如此v1.6.1

相关内容