package libxml-sax-perl 0.96 dfsg-2 failed to install/upgrade:

Bug #663612 reported by Harley Pig
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libxml-sax-perl (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: libxml-sax-perl

I am on a linode. I had/have karmic installed. Was doing a do-release-upgrade to lucid.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: libxml-sax-perl 0.96+dfsg-2
Uname: Linux 2.6.32.16-linode28 i686
Architecture: i386
Date: Tue Oct 19 18:03:21 2010
ErrorMessage:
 ErrorMessage: subprocess installed post-installation script returned error exit status 2
PackageArchitecture: all
SourcePackage: libxml-sax-perl
Title: package libxml-sax-perl 0.96+dfsg-2 failed to install/upgrade:

Revision history for this message
Harley Pig (harleypig) wrote :
Revision history for this message
Ansgar Burchardt (aburch) wrote :

Is looks like libxml-namespacesupport-perl is not installed even though it is a dependency for libxml-sax-perl.

Is libxml-namespacesupport-perl installed? If yes, which version?

Changed in libxml-sax-perl (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libxml-sax-perl (Ubuntu) because there has been no activity for 60 days.]

Changed in libxml-sax-perl (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Jan Schlüter (f0k) wrote :
Download full text (6.9 KiB)

The same happened for me when upgrading from lucid to precise. I followed the idea reported in #296428 to reinstall libxml-namespacesupport-perl.

Here's a log of my actions. Since upgrading to precise, dpkg complained whenever I did anything:

$ sudo apt-get install (some-package-that-i-already-had)
(some-package-that-i-already-had) is already the newest version.
[...]
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up libxml-sax-perl (0.99+dfsg-1ubuntu0.1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10...
Can't locate XML/NamespaceSupport.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/XML/SAX/PurePerl.pm line 20.
BEGIN failed--compilation aborted at /usr/share/perl5/XML/SAX/PurePerl.pm line 20.
Compilation failed in require at /usr/share/perl5/XML/SAX.pm line 153.
dpkg: error processing libxml-sax-perl (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libxml-libxml-perl:
 libxml-libxml-perl depends on libxml-sax-perl; however:
  Package libxml-sax-perl is not configured yet.
dpkg: error processing libxml-libxml-perl (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxml-sax-expat-perl:
 libxml-sax-expat-perl depends on libxml-sax-perl (>= 0.03); however:
  Package libxml-sax-perl is not configured yet.
dpkg: error processing libxml-sax-expat-perl (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                            No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                        Errors were encountered while processing:
 libxml-sax-perl
 libxml-libxml-perl
 libxml-sax-expat-perl
E: Sub-process /usr/bin/dpkg returned an error code (1)

Following the advice above, I ensured that libxml-namespacesupport-perl is there:

jan@zappa:~$ sudo apt-get install libxml-namespacesupport-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxml-namespacesupport-perl is already the newest version.
The following packages were automatically installed and are no longer required:
  libgmp3c2 libopenjpeg2 libindicator-messages-status-provider1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

I removed libxml-namespacesupport-perl:

jan@zappa:~$ sudo apt-get remove libxml-namespacesupport-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.