I've been running 2.6.24-19 happily for some weeks now. When the update manager's automatic feature offered me an upgrade to 2.6.24-21, I took the bait. The download and verification appeared to complete successfully. A dialog asked, what would I like to do about grub/menu.lst? (This is a dual-boot laptop, and I've modified menu.lst to offer the Windows option.) I choose 'do a 3-way merge (experimental)'-- not that I think this has anything to do with the error, but I suppose it may.... Anyway, when the dust settled, menu.lst had not been altered and I'm still booting into -19. The -21 kerenel, initrd and all the other files in /boot are present and look OK, AFAIK.
I'm tempted to hand-edit menu.lst, add in the -21 kernel, and see what happens.
The update dialog offered these clues:
Selecting previously deselected package linux-image-2.6.24-21-generic.
(Reading database ... 137829 files and directories currently installed.)
Unpacking linux-image-2.6.24-21-generic (from .../linux-image-2.6.24-21-generic_2.6.24-21.42_i386.deb) ...
Done.
Selecting previously deselected package linux-ubuntu-modules-2.6.24-21-generic.
Unpacking linux-ubuntu-modules-2.6.24-21-generic (from .../linux-ubuntu-modules-2.6.24-21-generic_2.6.24-21.32_i386.deb) ...
Preparing to replace jockey-gtk 0.3.3-0ubuntu8 (using .../jockey-gtk_0.3.3-0ubuntu8.1_all.deb) ...
Unpacking replacement jockey-gtk ...
Preparing to replace jockey-common 0.3.3-0ubuntu8 (using .../jockey-common_0.3.3-0ubuntu8.1_all.deb) ...
Unpacking replacement jockey-common ...
Preparing to replace linux-generic 2.6.24.19.21 (using .../linux-generic_2.6.24.21.23_i386.deb) ...
Unpacking replacement linux-generic ...
Preparing to replace linux-image-generic 2.6.24.19.21 (using .../linux-image-generic_2.6.24.21.23_i386.deb) ...
Unpacking replacement linux-image-generic ...
Preparing to replace linux-restricted-modules-common 2.6.24.13-19.45 (using .../linux-restricted-modules-common_2.6.24.14-21.51_all.deb) ...
Unpacking replacement linux-restricted-modules-common ...
Selecting previously deselected package linux-restricted-modules-2.6.24-21-generic.
Unpacking linux-restricted-modules-2.6.24-21-generic (from .../linux-restricted-modules-2.6.24-21-generic_2.6.24.14-21.51_i386.deb) ...
Preparing to replace linux-restricted-modules-generic 2.6.24.19.21 (using .../linux-restricted-modules-generic_2.6.24.21.23_i386.deb) ...
Unpacking replacement linux-restricted-modules-generic ...
Selecting previously deselected package linux-headers-2.6.24-21.
Unpacking linux-headers-2.6.24-21 (from .../linux-headers-2.6.24-21_2.6.24-21.42_all.deb) ...
Selecting previously deselected package linux-headers-2.6.24-21-generic.
Unpacking linux-headers-2.6.24-21-generic (from .../linux-headers-2.6.24-21-generic_2.6.24-21.42_i386.deb) ...
Preparing to replace linux-headers-generic 2.6.24.19.21 (using .../linux-headers-generic_2.6.24.21.23_i386.deb) ...
Unpacking replacement linux-headers-generic ...
Preparing to replace nvidia-glx-new 169.12+2.6.24.13-19.45 (using .../nvidia-glx-new_169.12+2.6.24.14-21.51_i386.deb) ...
Unpacking replacement nvidia-glx-new ...
Setting up linux-image-2.6.24-21-generic (2.6.24-21.42) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-21-generic
Running postinst hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.24-21-generic
Found kernel: /boot/vmlinuz-2.6.24-19-generic
Found kernel: /boot/memtest86+.bin
Merging changes into the new version
User postinst hook script [/sbin/update-grub] exited with value 1
dpkg: error processing linux-image-2.6.24-21-generic (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-ubuntu-modules-2.6.24-21-generic:
linux-ubuntu-modules-2.6.24-21-generic depends on linux-image-2.6.24-21-generic; however:
Package linux-image-2.6.24-21-generic is not configured yet.
dpkg: error processing linux-ubuntu-modules-2.6.24-21-generic (--configure):
dependency problems - leaving unconfigured
Setting up jockey-common (0.3.3-0ubuntu8.1) ...
Setting up jockey-gtk (0.3.3-0ubuntu8.1) ...
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-2.6.24-21-generic; however:
Package linux-image-2.6.24-21-generic is not configured yet.
linux-image-generic depends on linux-ubuntu-modules-2.6.24-21-generic; however:
Package linux-ubuntu-modules-2.6.24-21-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
Setting up linux-restricted-modules-common (2.6.24.14-21.51) ...
dpkg: dependency problems prevent configuration of linux-restricted-modules-2.6.24-21-generic:
linux-restricted-modules-2.6.24-21-generic depends on linux-image-2.6.24-21-generic; however:
Package linux-image-2.6.24-21-generic is not configured yet.
dpkg: error processing linux-restricted-modules-2.6.24-21-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricted-modules-generic:
linux-restricted-modules-generic depends on linux-restricted-modules-2.6.24-21-generic; however:
Package linux-restricted-modules-2.6.24-21-generic is not configured yet.
dpkg: error processing linux-restricted-modules-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 2.6.24.21.23); however:
Package linux-image-generic is not configured yet.
linux-generic depends on linux-restricted-modules-generic (= 2.6.24.21.23); however:
Package linux-restricted-modules-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
dependency problems - leaving unconfigured
Setting up linux-headers-2.6.24-21 (2.6.24-21.42) ...
Setting up linux-headers-2.6.24-21-generic (2.6.24-21.42) ...
Setting up linux-headers-generic (2.6.24.21.23) ...
Setting up nvidia-glx-new (169.12+2.6.24.14-21.51) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
linux-image-2.6.24-21-generic
linux-ubuntu-modules-2.6.24-21-generic
linux-image-generic
linux-restricted-modules-2.6.24-21-generic
linux-restricted-modules-generic
linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-2.6.24-21-generic (2.6.24-21.42) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-21-generic
Running postinst hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.24-21-generic
Found kernel: /boot/vmlinuz-2.6.24-19-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
Setting up linux-restricted-modules-2.6.24-21-generic (2.6.24.14-21.51) ...
Setting up linux-ubuntu-modules-2.6.24-21-generic (2.6.24-21.32) ...
update-initramfs: Generating /boot/initrd.img-2.6.24-21-generic
Setting up linux-image-generic (2.6.24.21.23) ...
Setting up linux-restricted-modules-generic (2.6.24.21.23) ...
Setting up linux-generic (2.6.24.21.23) ...
Bookmarks