[Bug 990256] Re: package libxml-sax-expat-perl 0.40-2 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 2

Launchpad Bug Tracker 990256 at bugs.launchpad.net
Tue Aug 14 16:50:15 UTC 2012


This bug was fixed in the package perl - 5.14.2-6ubuntu2.1

---------------
perl (5.14.2-6ubuntu2.1) precise-proposed; urgency=low

  * Add versioned conflict against libxml-sax-perl to ensure it's upgraded
    to a version that doesn't use Files::Basename or is removed from the
    system. This fixes upgrades from 10.04. (LP: #990256)
 -- Stephane Graber <stgraber at ubuntu.com>   Fri, 10 Aug 2012 15:51:31 -0400

** Changed in: perl (Ubuntu Precise)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/990256

Title:
  package libxml-sax-expat-perl 0.40-2 failed to install/upgrade:
  ErrorMessage: subprocess installed pre-removal script returned error
  exit status 2

Status in “libxml-sax-perl” package in Ubuntu:
  Fix Released
Status in “perl” package in Ubuntu:
  Invalid
Status in “libxml-sax-perl” source package in Precise:
  Fix Released
Status in “perl” source package in Precise:
  Fix Released
Status in “libxml-sax-perl” source package in Quantal:
  Fix Released
Status in “perl” source package in Quantal:
  Invalid
Status in “libxml-sax-perl” package in Debian:
  Fix Released

Bug description:
  [rationale]
  libxml-sax-expat-perl has a prerm calling a script from libxml-sax-perl, this script uses SAX.pm which uses Basename for the dirname function. This function is broken at the time the code runs.

  This breaks 10.04 to 12.04 upgrades when done without connectivity and
  may cause breakage in other cases too.

  [test case]
  1) Install Ubuntu 10.04 desktop
  2) Update it
  3) Disconnect from the internet
  4) Insert 12.04.1 alternate media
  5) Upgrade

  [regression potential]
  Implementation was copy/pasted from that in doc-base, matching perl changes were also copied from what was done in doc-base, so risk of regression should be very low.

  In the last day or so, I upgraded Ubuntu from 11.04 to 11.10, then to
  12.04. The upgrade to 12.04 was first done using an alternate install
  CD, then further updates were made from the Internet. A partial
  upgrade was made after rebooting. This error showed up more than one
  time before I reported it. The computer is a gBox P4 model around 8-10
  years old.

  Ubuntu version and kernel version
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=12.04
  DISTRIB_CODENAME=precise
  DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
  Linux billy 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:52 UTC 2012 i686 i686 i386 GNU/Linux
  model name	: Intel(R) Celeron(R) CPU 1.70GHz
  cpu MHz		: 1691.518
  MemTotal:        2029480 kB
  SwapTotal:        522076 kB

  After installing apt-show-versions, I was able to determine this:

  $ apt-show-versions libxml-sax-expat-perl
  libxml-sax-expat-perl/precise uptodate 0.40-2

  So the error is a bit of a mystery to me.

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: libxml-sax-expat-perl 0.40-2
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic i686
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: i386
  Date: Fri Apr 27 11:27:06 2012
  ErrorMessage: ErrorMessage: subprocess installed pre-removal script returned error exit status 2
  PackageArchitecture: all
  SourcePackage: libxml-sax-expat-perl
  Title: package libxml-sax-expat-perl 0.40-2 failed to install/upgrade: ErrorMessage: subprocess installed pre-removal script returned error exit status 2
  UpgradeStatus: Upgraded to precise on 2012-04-27 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxml-sax-perl/+bug/990256/+subscriptions




More information about the foundations-bugs mailing list