On 10/11/2009 05:09 AM, [email protected] wrote: > On Sun, Oct 11, 2009 at 10:08:21 +0100, John Winters wrote: >> Hello again (sorry Martin), >> I just did an apt-get dist-upgrade and the packages were downloaded and >> installed, but they don't seem to have been fully installed. That is, >> uImage and uInitrd are unchanged and I'm still running on the previous >> kernel. > > I've noticed this as well, try manually running "flash-kernel" as root to > regenerate uImage + uInitrd from the /boot/vmlinuz symlink. Seems like > there's a missing hook somewhere so this step is left out?
I still needed to install the new kernel, so went ahead to see if the upgrade worked for me. At some point, I did an 'apt-get install --reinstall' after tinkering with a custom kernel, and I didn't get uImage/uInitrd, so I added the postinst_hook myself. -- Kind Regards, Michael mshu...@sheeva:~$ uname -a Linux sheeva 2.6.30-1-kirkwood #1 Mon Aug 17 14:01:54 UTC 2009 armv5tel GNU/Linux mshu...@sheeva:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: linux-image-2.6.30-2-kirkwood The following packages will be upgraded: linux-image-2.6-kirkwood linux-image-kirkwood 2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/14.8MB of archives. After this operation, 42.6MB of additional disk space will be used. Do you want to continue [Y/n]? WARNING: The following packages cannot be authenticated! linux-image-2.6.30-2-kirkwood linux-image-2.6-kirkwood linux-image-kirkwood Install these packages without verification [y/N]? y Preconfiguring packages ... Selecting previously deselected package linux-image-2.6.30-2-kirkwood. (Reading database ... 17923 files and directories currently installed.) Unpacking linux-image-2.6.30-2-kirkwood (from .../linux-image-2.6.30-2-kirkwood_2.6.30-8_armel.deb) ... Preparing to replace linux-image-2.6-kirkwood 2.6.30+20 (using .../linux-image-2.6-kirkwood_2.6.30+21_armel.deb) ... Unpacking replacement linux-image-2.6-kirkwood ... Preparing to replace linux-image-kirkwood 2.6.30+20 (using .../linux-image-kirkwood_2.6.30+21_armel.deb) ... Unpacking replacement linux-image-kirkwood ... Setting up linux-image-2.6.30-2-kirkwood (2.6.30-8) ... Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.30-2-kirkwood Running flash-kernel. Generating kernel u-boot image... done. Creating backup of /boot/uImage. Creating new /boot/uImage. Generating initrd u-boot image... done. Creating backup of /boot/uInitrd. Creating new /boot/uInitrd. Setting up linux-image-2.6-kirkwood (2.6.30+21) ... Setting up linux-image-kirkwood (2.6.30+21) ... mshu...@sheeva:~$ mshu...@sheeva:~$ echo "I added the postinst_hook myself at some point.." I added the postinst_hook myself at some point.. mshu...@sheeva:~$ mshu...@sheeva:~$ cat /etc/kernel-img.conf # Kernel image management overrides # See kernel-img.conf(5) for details do_symlinks = yes relative_links = yes do_bootloader = no do_bootfloppy = no do_initrd = yes link_in_boot = yes postinst_hook = flash-kernel mshu...@sheeva:~$ mshu...@sheeva:~$ sudo reboot Broadcast message from r...@sheeva (pts/0) (Sun Oct 11 12:07:48 2009): The system is going down for reboot NOW! mshu...@sheeva:~$ Connection to sheeva closed by remote host. Connection to sheeva closed. mshu...@gaea:~$ ssh sheeva Linux sheeva 2.6.30-2-kirkwood #1 Sun Sep 27 22:57:55 UTC 2009 armv5tel -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

