← Back to team overview

pkg-perl-maintainers team mailing list archive

[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

 

** Also affects: perl (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: perl (Ubuntu Precise)
       Status: New => Invalid

** Changed in: perl (Ubuntu Quantal)
       Status: New => Invalid

** Changed in: perl (Ubuntu Precise)
       Status: Invalid => In Progress

** Changed in: perl (Ubuntu Precise)
   Importance: Undecided => Critical

** Changed in: perl (Ubuntu Precise)
    Milestone: None => ubuntu-12.04.1

** Changed in: perl (Ubuntu Precise)
     Assignee: (unassigned) => Stéphane Graber (stgraber)

** Description changed:

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

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libxml-sax-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

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


References