package postgresql-8.3 8.3.4-1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #280135 reported by Scott James Remnant (Canonical)
150
This bug affects 22 people
Affects Status Importance Assigned to Milestone
postgresql-8.3 (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: postgresql-8.3

within-intrepid upgrade (machine recently updated from hardy)

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: postgresql-8.3 8.3.4-1ubuntu1
SourcePackage: postgresql-8.3
Title: package postgresql-8.3 8.3.4-1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-5-generic x86_64

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Ah, seems to be an intermittent problem with locales. Does en_GB.UTF-8 now work after the upgrade was complete? (locales -a). I didn't see "locales" being updated or installed in the log, was this a full or partial upgrade?

Changed in postgresql-8.3:
assignee: nobody → pitti
status: New → Incomplete
Revision history for this message
Matt Zimmerman (mdz) wrote :

Both perl and mandb warn earlier in the upgrade about a missing locale.

Why does postgresql fail in this case rather than continuing with a warning?

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, that would be it. postgresql-8.3 should explicitly depend on locales to make sure they are already configured.

Changed in postgresql-8.3:
status: Incomplete → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded, waiting in RM queue now.

Changed in postgresql-8.3:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postgresql-8.3 - 8.3.4-2.2

---------------
postgresql-8.3 (8.3.4-2.2) intrepid; urgency=low

  * debian/control: Add explicit dependency to locales, to ensure that the
    locales package is configured before postgresql-8.3. Otherwise, the server
    fails to start up when locales is unpacked while postgresql-8.3 is
    configured. (LP: #280135)

 -- Martin Pitt <email address hidden> Sun, 19 Oct 2008 15:31:07 +0200

Changed in postgresql-8.3:
status: Fix Committed → 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.