[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#882769: Cannot upgrade from Stretch: cp: target '/lib/live/mount/medium/live/vmlinuz.new' is not a directory



Hi Thomas,

On Sun, 26 Nov 2017, Thomas Goirand wrote:
> After booting a Stretch live image, I tried to upgrade it to Sid, and
> it fails with this error:
> 
> update-initramfs: deferring update (trigger activated)
> cp: target '/lib/live/mount/medium/live/vmlinuz.new' is not a directory

This is usually a sign that you have multiple kernel images installed
and the (failing) script is only able to cope with one.

But I have no idea what script is involved here.

> Removing the package live-boot-initramfs-tools before the upgrade isn't
> even a workaround, it continues to crash.

Did you try to purge it? (The problematic hook script might still be
installed after removal if it's in /etc)

> I need this to be fixed ASAP, as I'm using Live to test OpenStack, and
> this is a major blocker to me. I probably will attempt to fix it myself
> and NMU the package with no delay if you're fine with that, however,

So far you haven't even proven that the problem is in live-boot so
please don't be too hasty.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/


Reply to: