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-gnome : Depends: vim-gui-common (= 2:7.4.052-1ubuntu3) but it is not going to be installed Depends: vim-common (= 2:7.4.052-1ubuntu3) but 2:7.4.826-1 is to be installed Depends: vim-runtime (= 2:7.4.052-1ubuntu3) but 2:7.4.826-1 is to be installed E: Unable to correct problems, you have held broken packages.
看上面的意思是这个插件依赖的几个库没有安装,手动安装一下:
1
sudo apt-get install vim-gui-common
然后再试试可不可以安装vim-gnome:
1
sudo apt-get install vim-gnome
果不其然又报错了:
1 2
The following packages have unmet dependencies: vim-gnome : Depends: vim-runtime (= 2:7.4.052-1ubuntu3) but 2:7.4.826-1 is to be installed
vim-runtime is already the newest version. The following packages were automatically installed and are no longer required: g++-4.8 libstdc++-4.8-dev linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic linux-image-3.13.0-32-generic linux-image-extra-3.13.0-32-generic Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.