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

时间:2016-09-05 21:08:54   收藏:0   阅读:1492

  问题描述: 

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

  技术分享

  技术分享

  成功!

  

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!