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

posted on 2018-04-28 18:44  Arthurian  阅读(656)  评论(0编辑  收藏  举报