apt-get install总是提示相同错误或找不到ifconfig命令

瘦欲@ 提交于 2019-11-29 14:11:36

我在配置网卡时输入ifconfig查询网卡,它会提示“ifconfig notfound” apt install net-tools,但是输入apt-get install总是提示相同错误,比如:E: Package 'make' has no installation candidate

解决办法:

1、检查软件安装源

找到搜索,输入u提示出现updates,找到Download from,鼠标选择其他

选择来源:china--》aliyun的服务器

直接选择close

2、更新软件源

sudo apt-get update

或sudo apt-get upgrade 更新已安装的包

3、安装xx软件

sudo apt-get install xx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!