Erros do Apt desde a atualização para o 12.04

6

Eu tenho procurado por algum tempo por soluções e descobri [isso] [1]. Mas como não há feedback do iniciante e esta não é a solução para mim, quero perguntar novamente.

Eu tenho atualização para o Ubuntu 12.04 e estou usando o desktop Gnome 3. Depois da atualização eu tive algumas mensagens de erro do apport-gtk (ou do apport sobre o gtk?!?). O envio dos registros de erros me deu mais alguns erros.

O sistema funciona agora, mas toda vez que estou usando o apt ou o aptitude eu recebo as seguintes mensagens.

wowa@wowapc:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up initramfs-tools (0.99ubuntu13) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.2.0-24-generic (3.2.0-24.37) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-24-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
run-parts: executing /etc/kernel/postinst.d/zz-runlilo 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
Fatal: No images have been defined.
run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-24-generic.postinst line 1010.
dpkg: error processing linux-image-3.2.0-24-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.2.0-24-generic; however:
  Package linux-image-3.2.0-24-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.2.0.24.26); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
No apport report written because MaxReports has already been reached
                                                                    No apport report written because MaxReports has already been reached
                                                        No apport report written because MaxReports has already been reached
                                            update-initramfs: Generating /boot/initrd.img-3.2.0-24-generic
Fatal: No images have been defined.
run-parts: /etc/initramfs/post-update.d//runlilo exited with return code 1
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports has already been reached
                                                                    Errors were encountered while processing:
 linux-image-3.2.0-24-generic
 linux-image-generic
 linux-generic
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Espero que qualquer um possa ajudar.

    
por exilit 02.05.2012 / 20:36

1 resposta

5

Acho que o problema se deve a um conflito com o pacote lilo , que parece estar instalado em seu sistema. O gerenciador de inicialização padrão para o Ubuntu é Grub2 , você provavelmente não precisa de lilo .

Experimente sudo apt-get remove lilo . Então tente, por exemplo. %código%. As mensagens de erro devem desaparecer.

    
por Russ Weeks 02.05.2012 / 21:17