apt-get tendo problemas de dependência

3

Eu notei o problema quando tentei atualizar o Python, mas parece ser um problema para todos os comandos apt-get .

Quando faço uname -a obtenho

Linux sarah-ThinkPad-X220 3.13.0-61-generic #100-Ubuntu SMP Wed Jul 29 11:21:34 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Mas quando tento executar qualquer comando apt-get , recebo erros dizendo relacionados ao linux-image-3.13.0-63-generic.

Aqui estão todas as mensagens de erro que recebo quando faço sudo apt-get upgrade python :

Setting up linux-image-3.13.0-63-generic (3.13.0-63.103) ... Internal
Error: Could not find image (/boot/vmlinuz-3.13.0-63-generic) dpkg:
error processing package linux-image-3.13.0-63-generic (--configure):
subprocess installed post-installation script returned error exit
status 2 dpkg: dependency problems prevent configuration of
linux-image-extra-3.13.0-63-generic:
linux-image-extra-3.13.0-63-generic depends on
linux-image-3.13.0-63-generic; however:   Package
linux-image-3.13.0-63-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.13.0-63-generic
(--configure):  dependency problems - leaving unconfigured dpkg:
dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.13.0-63-generic; however:
Package linux-image-3.13.0-63-generic is not configured yet.
linux-image-generic depends on linux-image-extra-3.13.0-63-generic;
however:   Package linux-image-extra-3.13.0-63-generic is not
configured yet.

dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured dpkg: dependency problemsNo
apport report written because the error message indicates its a
followup error from a previous failure.
No apport report written because the error message indicates its a
followup error from a previous failure.
No apport report written because MaxReports is reached already
prevent configuration of linux-generic:  
linux-generic depends on linux-image-generic (= 3.13.0.63.71); however:   
Package linux-image-generic is not configured yet.

dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured Errors were encountered
while processing:  linux-image-3.13.0-63-generic
linux-image-extra-3.13.0-63-generic  linux-image-generic
linux-generic E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu recebo erros semelhantes com qualquer comando apt-get . Qualquer ajuda seria apreciada. Deixe-me saber se você precisar de mais informações. ~

    
por s.py 07.09.2015 / 01:51

1 resposta

3

tente executar os seguintes comandos:

cd ~/
mkdir aptget;cd aptget
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-3.13.0-63-generic_3.13.0-63.103_amd64.deb
sudo dpkg -i linux-image-3.13.0-63-generic_3.13.0-63.103_amd64.deb
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
cd ..
rm -R aptget

se ainda reclamar, execute o seguinte:

sudo apt-get -f install
    
por mchid 07.09.2015 / 04:31

Tags