300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > E: Package ‘xxx‘ has no installation candidate 问题成功解决

E: Package ‘xxx‘ has no installation candidate 问题成功解决

时间:2019-01-28 23:02:37

相关推荐

E: Package ‘xxx‘ has no installation candidate 问题成功解决

E: Package xxx has no installation candidate 问题成功解决

分析

首先这个问题的最主要的原因就是因为当前Linux系统的下载源中找不到相应的文件,所以说我们需要更新下载源

步骤

找到记录着下载源地址的文件

vi /etc/apt/sources.list

在下载源中添加源

deb http://mirrors./debian stable main contrib non-free# deb-src http://mirrors./debian stable main contrib non-freedeb http://mirrors./debian stable-updates main contrib non-free# deb-src http://mirrors./debian stable-updates main contrib non-free# deb http://mirrors./debian stable-proposed-updates main contrib non-free# deb-src http://mirrors./debian stable-proposed-updates main contrib non-free

修改完全后,执行apt-get update``apt-get upgrade更新一下,然后再次执行apt-get install

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。