upgrade parcial

0

Eu não me conectei à internet por cerca de uma semana, então quando me conectei à internet, tentei atualizar o sistema. Estou executando o Ubuntu 13.10. Ele disse que precisa de atualização parcial. Quando clico em upgrade parcial, ele diz que o sistema está atualizado e cancela. Quando clico em Continuar , diz software index is broken . É impossível instalar ou remover qualquer software. Por favor, use o gerenciador de pacotes Synaptic ou execute sudo apt-get install -f no terminal para corrigir o problema. No começo eu fiz isso.

são os resultados no terminal:

The following packages will be removed:
  linux-image-3.11.0-12-generic linux-image-extra-3.11.0-12-generic
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
17 not fully installed or removed.
After this operation, 136 MB disk space will be freed.
Do you want to continue [Y/n]? "
i click y but it doesn't work .that's the outcome ...
"(Reading database ... 401370 files and directories currently installed.)
Removing linux-image-extra-3.11.0-12-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
update-initramfs: Deleting /boot/initrd.img-3.11.0-12-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: splash: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-extra-3.11.0-12-generic.postrm line 328.
dpkg: error processing linux-image-extra-3.11.0-12-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Removing linux-image-3.11.0-12-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
update-initramfs: Deleting /boot/initrd.img-3.11.0-12-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: splash: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.11.0-12-generic.postrm line 328.
dpkg: error processing linux-image-3.11.0-12-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-extra-3.11.0-12-generic
 linux-image-3.11.0-12-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por Amr Elfiky 24.11.2013 / 11:27

1 resposta

1

Execute os seguintes comandos no terminal

sudo apt-get clean
sudo apt-get -f install

Se você ainda estiver recebendo erros, tente atualizar seu kernel executando o comando abaixo.

sudo apt-get install linux-generic
    
por Avinash Raj 24.11.2013 / 11:42