解决The following packages have unmet dependencies: vim : Depends: vim-runtime (= 2:7.4.052-1ubu

仔细看报错说明,把报错的软件删了,再当前的软件,刚刚删了的会自动补上合适的版本

sudo apt-get remove vim-runtime
sudo apt-get install vim
root@ubuntu:/usr/java# 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-runtime (= 2:7.4.052-1ubuntu3.1) but 2:8.0.1453-1ubuntu1.4 is to be installed
E: Unable to correct problems, you have held broken packages.

猜你喜欢

转载自blog.csdn.net/weixin_44494373/article/details/110659734
今日推荐