Further to my last email...

Manoj Srivastava wrote, on 2009-04-18 02:51:
severity 524499 normal
tags 524499 +moreinfo
thanks

Hi,

On Fri, Apr 17 2009, Arthur Marsh wrote:
make-kpkg --initrd linux-image
against the 2.6.27 kernel.org source.

The built package when installed did not have an initrd and when I

        Did you drop in a hook script to create the initrd in
 /etc/kernel? As the NEWS.Debian said, kernel-package no longer does the
 creation by default.

        I am changing the make-kpkg man page to clarify this.

attempted to remove the package had errors which required using
dpkg -P with force options.

        Do you have a log of those errors? Given the information here,
 it is hard to tell what the problem was.

        manoj

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)
A package failed to install.  Trying to recover:
Press return to continue.

I temporarily added "exit 0" to the start of /etc/kernel/postrm.d/initramfs-tools to force the removal of kernel-2.6.27.

Regards,

Arthur.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to