Reinstall Vim

I am trying to reinstall vim in ubuntu 11.10, but I am having problems. From the software center, I click on the installation and I get an error message: "Failed to download package files. Check your Internet connection." My internet connection is ok.

Then I click OK, and this message appears: "Installation of untrusted packages is required." I click OK (the only option) and the installation stops. Does anyone know how I solve this problem?

0
source share
2 answers

Try it on the command line:

sudo apt-get update sudo apt-get install vim gvim 
+3
source

Before running commands from the @DiogoDoreto message, run

 sudo apt-get purge vim gvim 

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

0
source

Source: https://habr.com/ru/post/1386325/


All Articles