[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





Sent from my Cyanogen phone
On Nov 28, 2017 9:58 AM, Raphael Hertzog <hertzog@debian.org> wrote:
> So far you haven't even proven that the problem is in live-boot so
> please don't be too hasty.

Sure ! Also, as I found a workaround for my CI, I'm not in such a hurry anymore. I also didn't intend to upload cruft... ;)

I did try to purge and it didn't help. The issue is indeed about 2 kernels installed, though as I wrote, upgrading linux-image-amd64 first works arround the problem. So I'm not sure what's going on, really. Any hint/clue ?

Cheers,

Thomas Goirand (zigo)


On Nov 28, 2017 9:58 AM, Raphael Hertzog <hertzog@debian.org> wrote:

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: