Problema de dependência em Trusty [duplicado]

0
shakil@shakil-Aspire-5733Z:~$ sudo apt-get -f install
[sudo] password for shakil: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  linux-tools-common
The following NEW packages will be installed:
  linux-tools-common
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
3 not fully installed or removed.
Need to get 0 B/88.0 kB of archives.
After this operation, 312 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 303158 files and directories currently installed.)
Preparing to unpack .../linux-tools-common_3.13.0-53.89_all.deb ...
Unpacking linux-tools-common (3.13.0-53.89) ...
dpkg: error processing archive /var/cache/apt/archives/linux-tools-common_3.13.0-53.89_all.deb (--unpack):
 trying to overwrite '/usr/bin/perf', which is also in package linux-lts-vivid-tools-common 3.19.0-18.18~14.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-tools-common_3.13.0-53.89_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

shakil@shakil-Aspire-5733Z:~$ 

Eu já tentei:

sudo apt-get autoclean 
sudo apt-get clean 
sudo apt-get autoremove -f 
sudo apt-get autoremove 
sudo apt-get install -f 

Por favor, alguém pode me ajudar?

    
por bivrantoshakil 21.05.2015 / 17:08

2 respostas

0

Encontrei um problema semelhante ao tentar atualizar meu linux-headers e parecia que o problema era a multiplicidade de atualizações não totalmente implementadas. Após uma reinicialização, ele é atualizado sem qualquer problema. Considerando que você tem três pacotes rotulados como " not fully installed or removed ", recomendo reinicializar e dar outro passo.

    
por SamWN 21.05.2015 / 21:14
0

Tente isso no seu terminal:

sudo apt-get --fix-broken install

Se isso não funcionar, tente:

sudo rm/var/lib/apt/lists/* -vf

então:

sudo apt-get update
    
por Patrick Romeo 22.05.2015 / 15:39