问题描述:
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
成功喽!!
安装Vim编辑器
本文介绍了在Linux系统中遇到Vim编辑器安装失败的问题及解决方法。通过更新软件包列表并重新尝试安装Vim,成功解决了该问题。
2437

被折叠的 条评论
为什么被折叠?



