Bug#586576: linux-image-2.6.32-5-686: apt-get/dpkg postinst update-initramfs fails for 2.6.32-5-686 but works on cmdline
Mark Hedges
hedges at scriptdolphin.com
Mon Jun 21 16:41:56 UTC 2010
On Sun, 20 Jun 2010, Ben Hutchings wrote:
>
> Read more carefully. It's grub that failed. I'm reassigning this
> accordingly.
Are we sure about that? The errors occur before running update-grub.
It seems like what is needed here is 'if $DEBUG' as a postfix if conditional
after the warn statement on line 400 of linux-image-2.6.32-5-686.postinst.
Maybe everything is working fine, but apt-get sees STDERR output and thinks
that means it did not work. All the other warn statements in the postinst
script have that conditional.
Hrmm, now it works after upgrading busybox initscripts libsnmp-base libsnmp15
libspectre1 libssh2-1 sysv-rc sysvinit sysvinit-utils ... weird. apt-get
finished with this output and now it does not try to do it again. --mark--
Setting up linux-image-2.6.32-5-686 (2.6.32-15) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
initrd.img(/boot/initrd.img-2.6.32-5-686
) points to /boot/initrd.img-2.6.32-5-686
(/boot/initrd.img-2.6.32-5-686) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.32-5-686.postinst line 400.
vmlinuz(/boot/vmlinuz-2.6.32-5-686
) points to /boot/vmlinuz-2.6.32-5-686
(/boot/vmlinuz-2.6.32-5-686) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.32-5-686.postinst line 400.
Running update-grub.
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found linux image: /boot/vmlinuz-2.6.32-3-686
Found initrd image: /boot/initrd.img-2.6.32-3-686
Found linux image: /boot/vmlinuz-2.6.32-maggie+2
Found initrd image: /boot/initrd.img-2.6.32-maggie+2
Found linux image: /boot/vmlinuz-2.6.32-maggie+1
Found initrd image: /boot/initrd.img-2.6.32-maggie+1
done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
More information about the Pkg-grub-devel
mailing list