Não foi possível instalar pacotes

0

Eu instalei o Ubuntu 12.04 no windows 7.

Eu tentei instalar o editor vim através do terminal usando sudo apt-get install vim então recebi o seguinte erro e não consegui instalar o pacote. Não só isso, eu não consegui instalar nada do terminal ou do Ubuntu. Tenho a certeza de que a minha ligação à Internet é boa e posso navegar na Internet.

Este é o erro que recebi: -

Reading package lists... Done
Building dependency tree       
Reading state information... Done
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 : Depends: vim-common (= 2:7.3.429-2ubuntu2) but 2:7.3.429-2ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
    
por Sushma 06.08.2013 / 09:56

1 resposta

0

Tente isso. Apenas pressione Ctrl + Alt + T no seu teclado para abrir o Terminal. Quando se abre, execute o (s) comando (s) abaixo:

sudo apt-get clean && sudo apt-get update
sudo apt-get upgrade
sudo apt-get install vim
    
por Mitch 06.08.2013 / 11:20