问题:

环境: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

 解决:

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

在普通模式下输入

sudo apt-get update

再安装vim

sudo apt-get install vim

Logo

更多推荐