upgrade failure (jaunty to karmic) in memtest86 postinst

Bug #459080 reported by Michael Vogt
124
This bug affects 35 people
Affects Status Importance Assigned to Milestone
memtest86+ (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Jaunty by bjtrexel
Karmic
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: memtest86+

memtest86+ failed on a release upgrade from jaunty->karmic with the following error:

Preparing to replace memtest86+ 2.11-3ubuntu1 (using .../memtest86+_2.11-3ubuntu4_i386.deb) ...^M
Unpacking replacement memtest86+ ...^M
Updating /boot/grub/grub.cfg ...^M
Found linux image: /boot/vmlinuz-2.6.31-14-generic^M
Found linux image: /boot/vmlinuz-2.6.28-16-generic^M
Found initrd image: /boot/initrd.img-2.6.28-16-generic^M
Found linux image: /boot/vmlinuz-2.6.28-15-generic^M
Found initrd image: /boot/initrd.img-2.6.28-15-generic^M
Found linux image: /boot/vmlinuz-2.6.28-14-generic^M
Found initrd image: /boot/initrd.img-2.6.28-14-generic^M
Found memtest86+ image: /boot/memtest86+.bin^M
.: 8: Can't open /usr/lib/grub/grub-mkconfig_lib^M
dpkg: warning: old post-removal script returned error exit status 2^M
dpkg - trying script from the new package instead ...^M
Updating /boot/grub/grub.cfg ...^M
Found linux image: /boot/vmlinuz-2.6.31-14-generic^M
Found linux image: /boot/vmlinuz-2.6.28-16-generic^M
Found initrd image: /boot/initrd.img-2.6.28-16-generic^M
Found linux image: /boot/vmlinuz-2.6.28-15-generic^M
Found initrd image: /boot/initrd.img-2.6.28-15-generic^M
Found linux image: /boot/vmlinuz-2.6.28-14-generic^M
Found initrd image: /boot/initrd.img-2.6.28-14-generic^M
Found memtest86+ image: /boot/memtest86+.bin^M
.: 8: Can't open /usr/lib/grub/grub-mkconfig_lib^M
dpkg: error processing /var/cache/apt/archives/memtest86+_2.11-3ubuntu4_i386.deb (--unpack):^M
 subprocess new post-removal script returned error exit status 2^M

Apparently this was a system with grub2 installed on jaunty.

Related branches

Revision history for this message
Michael Vogt (mvo) wrote :
Michael Vogt (mvo)
summary: - upgrade failre in memtest86 postinst
+ upgrade failure (jaunty to karmic) in memtest86 postinst
Michael Vogt (mvo)
Changed in memtest86+ (Ubuntu Karmic):
importance: Undecided → Medium
status: New → Confirmed
Michael Vogt (mvo)
Changed in memtest86+ (Ubuntu Karmic):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package memtest86+ - 2.11-3ubuntu5

---------------
memtest86+ (2.11-3ubuntu5) karmic; urgency=low

  * debian/grub:
    - check for existance of /usr/lib/grub/grub-mkconfig_lib before
      sourcing it (LP: #459080). This fixes a upgrade failure when
      the memtest86+ postinst is run but the new grub-common is not
      yet installed

 -- Michael Vogt <email address hidden> Fri, 23 Oct 2009 16:14:27 +0200

Changed in memtest86+ (Ubuntu Karmic):
status: In Progress → Fix Released
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.