Public bug reported: When upgrading kernel, it does not update /boot/grub/menu.lst with new installed kernel. It gives the following output: $ sudo apt-get dist-upgrade The following packages will be upgraded: linux-image-2.6.15-26-386 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 21,6MB of archives. After unpacking 12,3kB of additional disk space will be used. Do you want to continue [Y/n]? y Get: 1 http://security.ubuntu.com dapper-security/main linux-image-2.6.15-26-386 2.6.15-26.45 [21,6MB] Fetched 21,6MB in 6m2s (59,7kB/s) DESTROY created new reference to dead object ' Qt::SpacerItem', <> line 1 during global destruction. (Reading database ... 88595 files and directories currently installed.) Preparing to replace linux-image-2.6.15-26-386 2.6.15-26.44 (using .../linux-image-2.6.15-26-386_2.6.15-26.45_i386.deb) ... The directory /lib/modules/2.6.15-26-386 still exists. Continuing as directed. Unpacking replacement linux-image-2.6.15-26-386 ... Searching for GRUB installation directory ... found: /boot/grub Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst sed: -e avaldis #1, sümbol 186: Invalid range end sed: -e avaldis #1, sümbol 45: Invalid range end sed: -e avaldis #1, sümbol 186: Invalid range end User hook script /sbin/update-grub failed at /var/lib/dpkg/info/linux-image-2.6.15-26-386.postrm line 269. Setting up linux-image-2.6.15-26-386 (2.6.15-26.45) ... Not touching initrd symlinks since we are being reinstalled (2.6.15-26.44) Not updating image symbolic links since we are being updated (2.6.15-26.44) Searching for GRUB installation directory ... found: /boot/grub Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst sed: -e avaldis #1, sümbol 186: Invalid range end sed: -e avaldis #1, sümbol 45: Invalid range end sed: -e avaldis #1, sümbol 186: Invalid range end User hook script /sbin/update-grub failed at /var/lib/dpkg/info/linux-image-2.6.15-26-386.postinst line 991.
I use Kubuntu 6.06 LTS in Estonian language. ** Affects: Ubuntu Importance: Untriaged Status: Unconfirmed -- kernel upgrade does not update grub boot menu https://launchpad.net/bugs/53350 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs