[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

Steve Langasek steve.langasek at canonical.com
Fri Aug 10 20:51:35 UTC 2012


Hello Peter, or anyone else affected,

Accepted libxml-sax-perl into precise-proposed. The package will build
now and be available at http://launchpad.net/ubuntu/+source/libxml-sax-
perl/0.99+dfsg-1ubuntu0.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done.  If it does not, change the
tag to verification-failed.  In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: libxml-sax-perl (Ubuntu Precise)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

** Description changed:

  [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.
+ 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.
+ 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)

-- 
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 Committed
Status in “perl” source package in Precise:
  In Progress
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