menu.lst not updated with update to intrepid

Bug #288885 reported by K Dietrich
6
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Incomplete
Undecided
Michael Vogt

Bug Description

Binary package hint: adept-manager

Online Update to Kubuntu 8.10 (AMD64) did not adjust file /boot/grub/menu.lst. After the update, only the old kernel entries were available. Entry still mentions the old Version 8.04:

title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd0,3)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=bbb7c634-4686-405b-9477-ab85a0a62b6a ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet

I did expect a new enty like
title Ubuntu 8.10. kernel 2.6.27-7-generic
...

The file menu.lst was manually edited before the update. (deletion of old kernels)
Previous kernel updates komplained about this but still worked.

$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Could you please attach the files in /var/log/dist-upgrade/* to this report?

Changed in update-manager:
assignee: nobody → mvo
status: New → Incomplete
Revision history for this message
K Dietrich (kdietrich) wrote :
Revision history for this message
K Dietrich (kdietrich) wrote :
Revision history for this message
K Dietrich (kdietrich) wrote :
Revision history for this message
K Dietrich (kdietrich) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Could you please also attach the file /boot/grub/menu.lst

Thanks.

Revision history for this message
K Dietrich (kdietrich) wrote :

Here is the menu.lst. The first entry was manually adjusted by me. After the Update to 8.10 the entry looked like stated in the bug report.

Revision history for this message
glacialfury (glacialfury-gmail) wrote :

I can confirm this also happened to me.

I had done the online upgrade from Ubuntu 8.04 to 8.10, and foolishly said "No" to the many, many questions asking me about what to do with my menu.lst (I was afraid of losing my custom changes) without fully understanding what they were asking.

Upon finishing the update, it did indeed boot into 8.10, but the GRUB entry is as described above. I don't know if it is actually using the new kernel or not.

Revision history for this message
Martin Vysny (vyzivus) wrote :
Download full text (7.2 KiB)

I can confirm this as well. Today I upgraded the kernel to 2.6.27-11 and menu.lst was not re-generated. I had to run sudo update-grub manually which fixed menu.lst for me. Here is the apt log:

Log started: 2009-01-29 10:33:46
(Reading database ... 153258 files and directories currently installed.)
Removing linux-source ...
Removing linux-source-2.6.27 ...
Selecting previously deselected package linux-image-2.6.27-11-generic.
(Reading database ... 153252 files and directories currently installed.)
Unpacking linux-image-2.6.27-11-generic (from .../linux-image-2.6.27-11-generic_2.6.27-11.26_amd64.deb) ...
Done.
Preparing to replace linux-restricted-modules-common 2.6.27-9.13 (using .../linux-restricted-modules-common_2.6.27-11.16_all.deb) ...
Unpacking replacement linux-restricted-modules-common ...
Selecting previously deselected package linux-restricted-modules-2.6.27-11-generic.
Unpacking linux-restricted-modules-2.6.27-11-generic (from .../linux-restricted-modules-2.6.27-11-generic_2.6.27-11.16_amd64.deb) ...
Preparing to replace ufw 0.23.2 (using .../archives/ufw_0.23.3_all.deb) ...
Unpacking replacement ufw ...
Preparing to replace python-pyatspi 1.24.0-0ubuntu3 (using .../python-pyatspi_1.24.0-0ubuntu3.8.10.1_all.deb) ...
Unpacking replacement python-pyatspi ...
Preparing to replace libatspi1.0-0 1.24.0-0ubuntu3 (using .../libatspi1.0-0_1.24.0-0ubuntu3.8.10.1_amd64.deb) ...
Unpacking replacement libatspi1.0-0 ...
Preparing to replace at-spi 1.24.0-0ubuntu3 (using .../at-spi_1.24.0-0ubuntu3.8.10.1_amd64.deb) ...
Unpacking replacement at-spi ...
Preparing to replace ca-certificates-java 20080712ubuntu3 (using .../ca-certificates-java_20080712ubuntu4_all.deb) ...
Unpacking replacement ca-certificates-java ...
Preparing to replace libpulse0 0.9.10-2ubuntu9.2 (using .../libpulse0_0.9.10-2ubuntu9.3_amd64.deb) ...
Unpacking replacement libpulse0 ...
Preparing to replace libpulse-browse0 0.9.10-2ubuntu9.2 (using .../libpulse-browse0_0.9.10-2ubuntu9.3_amd64.deb) ...
Unpacking replacement libpulse-browse0 ...
Preparing to replace libpulse-mainloop-glib0 0.9.10-2ubuntu9.2 (using .../libpulse-mainloop-glib0_0.9.10-2ubuntu9.3_amd64.deb) ...
Unpacking replacement libpulse-mainloop-glib0 ...
Preparing to replace libpulsecore5 0.9.10-2ubuntu9.2 (using .../libpulsecore5_0.9.10-2ubuntu9.3_amd64.deb) ...
Unpacking replacement libpulsecore5 ...
Preparing to replace linux-image 2.6.27.9.13 (using .../linux-image_2.6.27.11.14_amd64.deb) ...
Unpacking replacement linux-image ...
Preparing to replace linux-generic 2.6.27.9.13 (using .../linux-generic_2.6.27.11.14_amd64.deb) ...
Unpacking replacement linux-generic ...
Preparing to replace linux-image-generic 2.6.27.9.13 (using .../linux-image-generic_2.6.27.11.14_amd64.deb) ...
Unpacking replacement linux-image-generic ...
Preparing to replace linux-restricted-modules-generic 2.6.27.9.13 (using .../linux-restricted-modules-generic_2.6.27.11.14_amd64.deb) ...
Unpacking replacement linux-restricted-modules-generic ...
Selecting previously deselected package linux-headers-2.6.27-11.
Unpacking linux-headers-2.6.27-11 (from .../linux-headers-2.6.27-11_2.6.27-11.26_all.deb) ...
Selecting previously deselected package...

Read more...

Revision history for this message
Martin Vysny (vyzivus) wrote :

To fix the bug, make sure that the /etc/kernel-img.conf file contains the following two lines:
postinst_hook = update-grub
postrm_hook = update-grub

Somehow those two lines vanished from my computer. When I added them back, the menu.lst file started to get re-generated correctly.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.