package doc-base 0.10.3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 127

Bug #897880 reported by dobey
108
This bug affects 15 people
Affects Status Importance Assigned to Milestone
perl (Debian)
Fix Released
Unknown
perl (Ubuntu)
Fix Released
High
Martin Pitt
Precise
Fix Released
High
Martin Pitt

Bug Description

While upgrading to Precise, this error occurred.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: doc-base 0.10.3
ProcVersionSignature: Ubuntu 3.2.0-2.5-generic 3.2.0-rc3
Uname: Linux 3.2.0-2-generic i686
ApportVersion: 1.90-0ubuntu1
Architecture: i386
Date: Tue Nov 29 15:17:02 2011
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 127
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110322.1)
PackageArchitecture: all
SourcePackage: doc-base
Title: package doc-base 0.10.3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 127
UpgradeStatus: Upgraded to precise on 2011-11-29 (0 days ago)

Revision history for this message
dobey (dobey) wrote :
Changed in doc-base (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in doc-base (Ubuntu):
status: New → Confirmed
Changed in doc-base (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
Martin Pitt (pitti) wrote :

Log extract:

Processing triggers for doc-base ...
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/UUID/UUID.so: undefined symbol: Perl_xs_apiversion_bootcheck
dpkg: error processing doc-base (--unpack):
 subprocess installed post-installation script returned error exit status 127

Changed in doc-base (Ubuntu Precise):
status: Triaged → In Progress
importance: Medium → High
assignee: Canonical Desktop Team (canonical-desktop-team) → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

So this happens when perl/perl-modules are unpacked, but not configured yet, and then some dpkg trigger pokes doc-base.

I tried various scenarios with having perl 5.14 unpacked but not configured, and then unpacking, triggering and/or installing doc-base and/or nano. I do get the symbol lookup error plenty of times, but always with

         *******************************************************************
         It seems install-docs is not fully functional at the moment,
         and it will try to recover from the error next time it is called.
         Please run `install-docs --install-changed' command
         manually after the upgrade process is finished.
         "*******************************************************************

and the exit code is 0.

But right now I can't make too much sense of the log anyway:

Processing triggers for doc-base ...
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/UUID/UUID.so: undefined symbol: Perl_xs_apiversion_bootcheck
dpkg: error processing doc-base (--unpack):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 doc-base

The context shows that at that time perl* are at 5.14/unpacked, but doc-base hasn't been touched anywhere yet. It never said "unpacking doc-base ..." for example, so the "dpkg: error processing doc-base (--unpack)" doesn't make sense, especially since unpack doesn't run postinst scripts.

Was this an upgrade from oneiric, or an intra-precise upgrade?

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

I think the problem is that perl-base has "Breaks: doc-base (<< 0.10.3)", but that will allow an unpacked but unconfigured perl 5.14 together with doc-base 0.10.2, so any trigger will break doc-base.

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

... so I think we need to turn the Breaks: into a Conflicts:.

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

Turns out that this was already reported in Debian, and fixed in perl 5.14.2-6. I synced the package now.

 perl (5.14.2-6) unstable; urgency=low
 .
   [ Niko Tyni ]
   * debian/rules: correctly handle subject line wraps in patch headers.
 .
   [ Dominic Hargreaves ]
   * Add versioned Conflicts on update-inetd (<< 4.41) (Closes: #649177)
   * Conflict on rather than Break doc-base (<< 0.10.3); aptitude
     runs doc-base triggers before the new version has been unpacked
   * Update Lintian override for perl-module-uses-perl4-libs-without-dep
     to reflect new path to CGI.pm
   * Disable various tests which fail on GNU/Hurd (see #648623)

affects: doc-base (Ubuntu Precise) → perl (Ubuntu Precise)
Changed in perl (Ubuntu Precise):
status: In Progress → Fix Released
Changed in perl (Debian):
status: Unknown → 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.