成功解决Linux安装vim不成功(package ‘vim‘ has no installation candidate)

问题:

环境:Linux Ubuntu 17.0.0

出现的问题如下图所示,在安装vim时,错误信息:package is missing,has been obsoleted, or is only available from another source; package 'vim' has no installation candidate

成功解决Linux安装vim不成功(package ‘vim‘ has no installation candidate)_第1张图片

 解决:

先更新apt源,再进行安装,更新完成后,再安装就可以成功啦!

在普通模式下输入

sudo apt-get update

再安装vim

sudo apt-get install vim

你可能感兴趣的:(vim,linux,ubuntu)