Ubuntu

package update-manager 1:0.87.30 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)

Reported by David Tangye on 2008-08-21
0
Affects Status Importance Assigned to Milestone
belocs-locales-bin (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

Attempting what I thought would be a simple distro upgrade from a perfectly working and stable gutsy to hardy. I ow have a corrupted machine.

The upgrade stuck at : 'Generating locales...
  en_AU.UTF-8...'

The process looping seemed to be (ex ps -eo cmd):

localedef --no-archive --magic=20051014 -i en_AU -c -f UTF-8 en_AU.UTF-8

I killed it and using 'sudo kill -s USR1 `pidof localedef`'

The upgrade continued with several warnings about the locale being bad.

It stuck twice more at :Generating locales...
  en_AU.UTF-8...
localedef --no-archive --magic=20051014 -i en_AU -c -f UTF-8 en_AU.UTF-8

Processes to kill these times included the parent and grandparent of localedef:

32285 32298 /bin/sh /usr/sbin/locale-gen --no-purge en root 15:00:09 00:00:00
32298 32327 localedef --no-archive --magic=20051014 -i en_AU -c -f UTF-8 en_AU.UTF-8 root 15:00:09 00:00:01
32327 32328 [gzip] <defunct>

I had to 'sudo kill -9 (the 3 above)' to get the install to continue.

I got dialog popups saying 'locales failed to install' and to do 'dpkg --configure -a'

Finally, a dialog 'Could not install the upgrades. The upgrade will abort now. Your system may be in an unusable state.' I am about to press enter, and expect to have a corrupted machine now.

ProblemType: Package
Architecture: i386
Date: Thu Aug 21 15:09:29 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.30
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.87.30 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-15-generic i686

David Tangye (davidtangye) wrote :
David Tangye (davidtangye) wrote :

Also see http://ubuntuforums.org/showthread.php?t=865679 for similar reports.

This bug should be marked critical or severe or whatever for very urgent attention.

David Tangye (davidtangye) wrote :

The problem appears to be only in the latest version of gutsy, ie 2.6.22-15-generic.

Others on the forum report 2.6.22-14 being ok to recover and complete a dist upgrade by running 'dpkg --configure -a' from a recovery boot (init 1 ie 'single'), and I have just run 'dpkg --configure -a' using hardy 2.6.24-19-generic successfully from a recovery boot. So far I appear to have a gui session running normally.

There must be something in 2.6.22-15 that is clashing with the locale stuff which is what is surfacing to wreck dist upgrades.

David Tangye (davidtangye) wrote :

Further to my previous message, here is the output of the 'dpkg --configure -a' command (run as root, init level 1). I think that it shows the packages that failed in the dist upgrade now being correctly upgraded.

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

Other bug subscribers