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?
Before running the commands from @DiogoDoreto 's post, run
Then run update and install. Purge will clear out all of the old configuration files and will usually fix the problem.
Try from command line: