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

Bug #256653 reported by Shashi Gupta
2
Affects Status Importance Assigned to Milestone
belocs-locales-bin (Ubuntu)
Triaged
High
Unassigned

Bug Description

Binary package hint: update-manager

Trying to upgrade from 7.10 to 8.04

Install got hung while doing "Generating locales..." while trying to install language-pack-en base.

The process tree looked like this:

/usr/sbin/locale-gen
    localedef --no-archive --magic=20051014 -i en_AU
      gzip

localdef process was taking a lot of CPU but seemed hung. I couldn't kill the process even with signal -9
gzip process was a zombie process

I finally had to kill the locale-gen script to get the install to continue. But I got the same issue further downstream as the update manager was trying to "generate locales" again

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

Package: update-manager 1:0.87.27
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.87.27 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

Revision history for this message
Shashi Gupta (shashiguptanj) wrote :
Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

From TermLog:

Errors were encountered while processing:
 locales
 language-pack-en-base
 language-pack-en
 language-pack-gnome-en-base
 language-pack-gnome-en
 ubuntu-minimal
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
IOError: [Errno 9] Bad file descriptor
IOError: [Errno 9] Bad file descriptor

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

Here is the first error, this looks like a localegen problem:

Setting up locales (2.7.9-4) ...
Installing new version of config file /etc/belocs/iso-639.def ...
Generating locales...
  en_AU.UTF-8...
  en_AU.UTF-8... Quit
dpkg: error processing locales (--configure):
 subprocess post-installation script returned error exit status 131

Changed in update-manager:
importance: Undecided → High
status: New → Triaged
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.