From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from metis.ext.pengutronix.de ([92.198.50.35]:45665 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933759Ab0BYVgM (ORCPT ); Thu, 25 Feb 2010 16:36:12 -0500 Date: Thu, 25 Feb 2010 22:36:11 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: failure to remove+purge debian package generated by make deb-pkg Message-ID: <20100225213610.GA30380@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: linux-kbuild@vger.kernel.org Cc: Debian kernel team 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/ |