Ubuntu出现apt-get: Package has no installation candidate问题

Posted Arthurian

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu出现apt-get: Package has no installation candidate问题相关的知识,希望对你有一定的参考价值。

今天在安装 vim 的时候出现了 Package \'vim\' has no installation candidate的问题

 

解决方法如下:
# apt-get update
# apt-get upgrade
# apt-get install <packagename>

这样就可以正常使用 apt-get 了~

 

 

作者:耑新新,发布于  博客园

转载请注明出处,欢迎邮件交流:zhuanxinxin@aliyun.com

以上是关于Ubuntu出现apt-get: Package has no installation candidate问题的主要内容,如果未能解决你的问题,请参考以下文章