Bug#544834: initramfs-tools: Purging a kernel-image does not clean up
On Thu, Sep 03, 2009 at 10:18:21AM +0200, Mart van de Wege wrote:
> Package: initramfs-tools
> Version: 0.93.4
> Severity: important
>
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> From: Mart van de Wege <mvdwege@mail.com>
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Subject: initramfs-tools: Purging a kernel-image does not clean up
> /var/lib/initramfs-tools
> Message-ID: <20090903081412.4143.23377.reportbug@gareth.avalon.lan>
> X-Mailer: reportbug 4.6
> Date: Thu, 03 Sep 2009 10:14:12 +0200
>
> Package: initramfs-tools
> Version: 0.93.4
> Severity: important
>
> When purging a kernel image, the corresponding file in /var/lib/initramfs-tools is not
> deleted. On the next run of apt-get/dpkg, this will make update-initramfs fail because
> the modules for a listed kernel do of course not exist anymore.
>
> It might be a good idea to at least also mention the state dir in the manpage. I had to
> resort to actually looking at the shell script to find out why update-initramfs kept
> trying to create an initrd for a non-existent kernel, after finding no documentation in
> the manpage.
>
> Marking important because although there is a workaround, it is non-documented.
>
> Mart van de Wege
what are you trying to do?
please post the script calling update-initramfs, thanks.
Reply to: