failure to remove+purge debian package generated by make deb-pkg
Hello,
I created and successfully installed a custom kernel package using
$(make deb-pkg).
Then after a failed boot test I removed it and then thought that I
actually want to purge it. Here's the result:
user@host:~$ sudo dpkg --remove linux-image-2.6.33-rc8-rt
(Reading database ... 153356 files and directories currently installed.)
Removing linux-image-2.6.33-rc8-rt ...
update-initramfs: Deleting /boot/initrd.img-2.6.33-rc8-rt
user@host:~$ sudo dpkg --purge linux-image-2.6.33-rc8-rt
(Reading database ... 150555 files and directories currently installed.)
Removing linux-image-2.6.33-rc8-rt ...
Purging configuration files for linux-image-2.6.33-rc8-rt ...
Cannot delete /boot/initrd.img-2.6.33-rc8-rt, doesn't exist.
run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1
dpkg: error processing linux-image-2.6.33-rc8-rt (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-2.6.33-rc8-rt
I didn't check if the problem is the package or initramfs-tools
(0.93.4).
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Reply to: