我有一个包含一个控制平面和两个工作节点的KIND集群。在工作节点上,我想安装和调试nftables。
当我尝试列出规则时,我看到以下错误
root@worker:/# nft list ruleset
nft: error while loading shared libraries: libnftables.so.1: cannot open shared object file: No such file or directory当我尝试安装nftables及其依赖项时,我看到下面的错误。
root@-worker:/# apt-get install nftables
Reading package lists... Done
Building dependency tree
Reading state information... Done
nftables is already the newest version (0.9.8-3).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
nftables : Depends: libnftables1 (= 0.9.8-3) but it is not installable
Depends: libedit2 (>= 3.1-20130611-0) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).发布于 2021-05-27 04:03:57
错误提示nftables已安装。修复apt包,然后尝试卸载并安装nftables
修复apt : apt-get update - fix -missing
https://stackoverflow.com/questions/67709682
复制相似问题