Ubuntu E: Package 'vim' has no installation candidate

问题描述: 
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
成功!

posted on 2016-10-18 14:10  misshuhu  阅读(699)  评论(0编辑  收藏  举报

导航