我尝试运行命令
ifconfig
输出为:
Command 'ifconfig' not found, did you mean:
command 'iconfig' from deb ipmiutil (3.1.5-1)
command 'pifconfig' from deb python3-ethtool (0.14-3build1)
command 'fconfig' from deb redboot-tools (0.7build3)
Try: sudo apt install <deb name>
我尝试通过以下方式安装它:
sudo apt-get install net-tools
但没有用:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package net-tools is not available, but is referred to by another
package. This may mean that the package is missing, has been
obsoleted, or is only available from another source
E: Package 'net-tools' has no installation candidate
我正在运行 Ubuntu 20-04,并在 ubuntu.packages.com 上搜索并发现了以下结果:
我究竟做错了什么?
更新
我能够按照以下主题解决问题:
谢谢大家的回复。