转载至https://www.cnblogs.com/suanmiaoup/p/12294431.html
Ubuntu安装vim提示:
The following packages have unmet dependencies:
vim : Depends: vim-common (= 2:7.4.1689-3ubuntu1.3) but 2:8.0.1453-1ubuntu1.1 is to be installed
Depends: libpython3.5 (>= 3.5.0~b1) but it is not going to be installed
解决方法:
sudo apt-get remove vim-common卸载vim-common(还是出现错误,直接进行以下步骤即可)
还是会提示依赖libpython,接着sudo apt-get -f install 修改受损软件包
然后sudo apt-get update
然后:sudo apt-get install vim-gtk完成安装
本文详细介绍了在Ubuntu系统中安装Vim时遇到的依赖问题及其解决方案。主要问题为vim-common版本冲突与libpython缺失,通过移除旧版本、修复损坏包及更新软件源,最终成功安装Vim。

4154

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



