sriva...@acm.org wrote, on 2009-04-18 04:03:
Arthur Marsh writes:
> Further to my last email...
> When I used aptitude again, linux-2.6.27 was marked with a "c" and
> when I tried to remove linux-2.6.28 with aptitude I received the
> errors:
> aptitude
> (Reading database ... 99365 files and directories currently installed.)
> Removing linux-2.6.27 ...
> Purging configuration files for linux-2.6.27 ...
> Cannot delete /boot/initrd.img-2.6.27, doesn't exist.
> run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1
> dpkg: error processing linux-2.6.27 (--purge):
> subprocess post-removal script returned error exit status 1
> Errors were encountered while processing:
> linux-2.6.27
> E: Sub-process /usr/bin/dpkg returned an error code (1)
So this is a problem with
/etc/kernel/postrm.d/initramfs-tools
> I temporarily added "exit 0" to the start of
> /etc/kernel/postrm.d/initramfs-tools to force the removal of
> kernel-2.6.27.
Right. We need to get the script in
/etc/kernel/postrm.d/initramfs-tools
fixed. Any idea where it came from?
Does
dpkg -S /etc/kernel/postrm.d/initramfs-tools
tell you anything?
manoj
# dpkg -S /etc/kernel/postrm.d/initramfs-tools
initramfs-tools: /etc/kernel/postrm.d/initramfs-tools
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org