ubuntu18.0.4安装vim报错:E: Unable to correct problems, you have held broken packages

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 21:00   3183   0
VirtualBox:~$ sudo apt-get install vim
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 vim : Depends: vim-common (= 2:8.0.1453-1ubuntu1) but 2:8.0.1453-1ubuntu1.1 is to be installed
E: Unable to correct problems, you have held broken packages.

解决办法:

VirtualBox:~$ sudo apt-get purge vim-common
VirtualBox:~$ sudo apt-get install vim


分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP