Comment 3 for bug 28020

Revision history for this message
In , Cesare Leonardi (celeonar) wrote : Re: Bug#346028: linux-2.6: Hangs while attempting to purge

Cesare Leonardi wrote:
> I haven't tested 2.6.15 because it isn't available in my mirror yet. But
> the Nathanael posts tell us that the problem is still present in the
> latest kernel.
> As soon as it will be available on the mirror i use, i'll test 2.6.15.

Ok, 2.6.15 is arrived.
I've tryed to install linux-image-2.6.15-1-486 (version 2.6.15-1), then
to purge it and the operation failed. But now, it doesn't hang as stated
in the bug reports, but fails with an error:

(Reading database ... 83162 files and directories currently installed.)
Removing linux-image-2.6.15-1-486 ...
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
Unless you used the optional flag in lilo,
  you may need to re-run lilo
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
Unless you used the optional flag in lilo,
  you may need to re-run lilo
Purging configuration files for linux-image-2.6.15-1-486 ...
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
dpkg: error processing linux-image-2.6.15-1-486 (--purge):
  subprocess post-removal script returned error exit status 128
Errors were encountered while processing:
  linux-image-2.6.15-1-486
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Press return to continue.

But since the "486" flavour is a new entry, i've also tryed
linux-image-2.6.15-1-686-smp, which i know was failing during purge
(while i was investigating for bug #344767, i had also tested
linux-image-2.6.14-2-686-smp (2.6.14-6), and it hanged like the others):
the purge operation for 2.6.15-686-smp failed like 486 flavour:

(Reading database ... 83105 files and directories currently installed.)
Removing linux-image-2.6.15-1-686-smp ...
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
Unless you used the optional flag in lilo,
  you may need to re-run lilo
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
Unless you used the optional flag in lilo,
  you may need to re-run lilo
Purging configuration files for linux-image-2.6.15-1-686-smp ...
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
dpkg: error processing linux-image-2.6.15-1-686-smp (--purge):
  subprocess post-removal script returned error exit status 128
Errors were encountered while processing:
  linux-image-2.6.15-1-686-smp
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Press return to continue.

Some information about my system:
- Debian Sid
- linux-image-2.6.15-1-686 (2.6.15-1)
- yaird (0.0.12-3)
- initrd-tools (0.1.84)
- grub (0.97-2)
- libc6 (2.3.5-11)
- libc6-i686 (2.3.5-11)

Regards.

Cesare.