Reinstalling Vim [closed]

为君一笑 提交于 2019-12-12 02:46:19

问题


I'm trying to reinstall vim in ubuntu 11.10, but am having trouble. From the software center I click on install, and I get the error message: "Failed to download package files. Check your internet connection". My internet connection is fine.

Then, I click on OK, and this message comes up: "Requires Installation of untrusted packages." I click on OK (the only option), and the installation ceases. Anyone know how I resolve this problem?


回答1:


Try from command line:

sudo apt-get update
sudo apt-get install vim gvim



回答2:


Before running the commands from @DiogoDoreto 's post, run

sudo apt-get purge vim gvim

Then run update and install. Purge will clear out all of the old configuration files and will usually fix the problem.



来源:https://stackoverflow.com/questions/8234099/reinstalling-vim

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!