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

Bug#640220: closed by Ben Hutchings <ben@decadent.org.uk> (Re: Bug#640220: linux-image-3.0.0-1-orion5x: Cannot update kernel image)



On Mon, 2011-09-05 at 06:53 +0200, Michael Ott wrote:
> > > Package: linux-2.6
> > > Version: 3.0.0-3
> > > Severity: normal
> > > 
> > > When I try to upgrade my system I got the following error:
> > > Setting up linux-image-3.0.0-1-orion5x (3.0.0-3) ...
> > > Running depmod.
> > > vmlinuz(/boot/vmlinuz-3.0.0-1-orion5x
> > > ) points to /boot/vmlinuz-3.0.0-1-orion5x
> > >  (/boot/vmlinuz-3.0.0-1-orion5x) -- doing nothing at /var/lib/dpkg/info/linux-image-3.0.0-1-orion5x.postinst line 346.
> > > The link /boot/initrd.img is a dangling linkto /boot/initrd.img-3.0.0-1-orion5x
> > > Running flash-kernel.
> > > Can't find /boot/vmlinuz-3.0.0-1-orion5x and /boot/initrd.img-3.0.0-1-orion5x
> > > User postinst hook script [flash-kernel] exited with value 1
> > [...]
> > 
> > You appear to have manually configured flash-kernel to run during a
> > kernel upgrade by setting postinst_hook in /etc/kernel-img.conf.  This
> > is wrong because any command specified there is run before the initramfs
> > is created or updated.  The flash-kernel command should be run
> > automatically at the correct time, so the upgrade should work if you
> > just unset postinst_hook.
> Maybe I done it but I do not know why. I believe that this is the
> originell version which was installed or updated. The first installed
> kernel was 2.6.26. I removed it a few days ago.

It's possible that the installer used to set this (it certainly used to
do something similar for GRUB on x86).

> But after unset postinst_hook there is no error but also the kernel will
> not update the flash
[...]

OK, I'll reopen this and reassign to flash-kernel.  It ought to have
fixed this configuration on upgrade.

Ben.




Reply to: