failure to remove/upgrade memtest86+

Bug #132328 reported by ma10
2
Affects Status Importance Assigned to Milestone
memtest86+ (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: memtest86+

Just finished a fresh install of Gutsy on to a FakeRaid array. Booted up and tried updating via update-manager and I get the following about memtest86+

(Reading database ... 106979 files and directories currently installed.)
Preparing to replace memtest86+ 1.70-2ubuntu1 (using .../memtest86+_1.70-2ubuntu2_amd64.deb) ...
Unpacking replacement memtest86+ ...
[: 25: ==: unexpected operator
exec: 25: -a: not found
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
[: 25: ==: unexpected operator
exec: 25: -a: not found
dpkg: error processing /var/cache/apt/archives/memtest86+_1.70-2ubuntu2_amd64.deb (--unpack):
 subprocess new post-removal script returned error exit status 2
[: 25: ==: unexpected operator
exec: 25: -a: not found
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/memtest86+_1.70-2ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

ProblemType: Package
Architecture: amd64
Date: Tue Aug 14 00:19:49 2007
Dependencies:

DistroRelease: Ubuntu 7.10
ErrorMessage: subprocess new post-removal script returned error exit status 2
NonfreeKernelModules: fglrx
Package: memtest86+ 1.70-2ubuntu1
PackageArchitecture: amd64
SourcePackage: memtest86+
Title: package memtest86+ 1.70-2ubuntu1 failed to install/upgrade: subprocess new post-removal script returned error exit status 2
Uname: Linux ma10quad 2.6.22-8-generic #1 SMP Thu Jul 12 16:09:47 GMT 2007 x86_64 GNU/Linux

Revision history for this message
ma10 (ma10-wong) wrote :
Revision history for this message
Reinhard Tartler (siretart) 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 129614 , 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 add, or to see if there is a workaround for the bug. Feel free to continue to report any other bugs you may find.

Revision history for this message
ma10 (ma10-wong) wrote :

I forgot to mention that this fresh install of Gutsy also included installing Grub manually at install time and Grub works fine... I followed this guide:

https://wiki.ubuntu.com/FakeRaidEdgy

tbh, I'm more or less a linux newbie and it took me ages to notice that within the memtest .deb package part of the script calls:

update-grub

which from part of the FakeRaidEdgy guide didn't work for me and the workaround was to call the following instead:

exec -a update-grub /usr/sbin/update-grub.real $*

This gave me the idea to manually download the updated memtest .deb package myself and modify the "update-grub" line to the above. Installing this modified memtest .deb works fine... After that, running update manager now no longer reports any errors! :-D

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.