[Hardy] update failed after non-default option selected for menu.lst merge

Bug #222445 reported by Johan Persson
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

During my upgrade from Gutsy to Hardy I was queried by the update-manager what I wanted to do about my local menu.lst file. I selected the option ~ "diff the two versions". The update manager asked me this twice. The first nothing seemed to happen and the second time it seemed to have realized that something had gone wrong. In neither case was I shown a diff of the two files.

I also got the error messages below in a dialogue:

---------------

Could not install 'linux-image-2.6.24-16-generic'

The upgrade will continue but the 'linux-image-2.6.24-16-generic' package may be in a not working state. Please consider submitting a bugreport about it.

subprocess post-installation script returned error exit status 1

ProblemType: Package
Architecture: i386
Date: Sat Apr 26 07:36:07 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)

NonfreeKernelModules: nvidia
Package: update-manager 1:0.87.24
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.87.24 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)
Uname: Linux 2.6.22-14-generic i686

Revision history for this message
Johan Persson (johan-persson) wrote :
Revision history for this message
Johan Persson (johan-persson) wrote :

Here is some console output from the update manager.

----------------

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
Errors were encountered while processing:
 linux-image-2.6.24-16-generic
 linux-ubuntu-modules-2.6.24-16-generic
 linux-image-generic
 linux-restricted-modules-2.6.24-16-generic
 linux-restricted-modules-generic
 linux-generic
Traceback (most recent call last):
  File "logging/__init__.py", line 753, in emit
    self.flush()
  File "logging/__init__.py", line 731, in flush
    self.stream.flush()
IOError: [Errno 9] Bad file descriptor
Traceback (most recent call last):
  File "logging/__init__.py", line 753, in emit
    self.flush()
  File "logging/__init__.py", line 731, in flush
    self.stream.flush()
IOError: [Errno 9] Bad file descriptor
Traceback (most recent call last):
  File "logging/__init__.py", line 753, in emit
    self.flush()
  File "logging/__init__.py", line 731, in flush
    self.stream.flush()
IOError: [Errno 9] Bad file descriptor
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)

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

Thanks for your bugreport.

Please attach the files in /var/log/dist-upgrade to this bugreport.
 Thanks Michael

Changed in update-manager:
status: New → Incomplete
Revision history for this message
Johan Persson (johan-persson) wrote :

The requested log files are attached

Revision history for this message
Markus Korn (thekorn) wrote :

Set status to Triaged as requested information was added

Changed in update-manager:
status: Incomplete → Triaged
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The cause of the failure is
=====
Setting up linux-image-2.6.24-16-generic (2.6.24-16.30) ...

Running depmod.

update-initramfs: Generating /boot/initrd.img-2.6.24-16-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.22-14-generic

Found kernel: /boot/vmlinuz-2.6.20-16-generic

Found kernel: /boot/memtest86+.bin

need a diff as argument

User postinst hook script [/sbin/update-grub] exited with value 1

dpkg: error processing linux-image-2.6.24-16-generic (--configure):

 subprocess post-installation script returned error exit status 1
=====

affecting to linux

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 231524, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.