E:Package 'Vim' has no installation candidate问题解决


http://www.cnblogs.com/zlslch/p/5843492.html

 

  问题描述: 

root@zhouls-virtual-machine:~# apt-get install vim

Reading package lists... Done
Building dependency tree 
Reading state information... Done
Package vim 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 'vim' has no installation candidate
root@zhouls-virtual-machine:~#

  

 

 

 

  解决办法:

sudo apt-get update && sudo apt-get install vim

  

  

  成功!!!

 

 

  我这里,是用的是NAT模式。大家可以见如下博客


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM