Could not install 'libxml-sax-perl'

Bug #222726 reported by Diana Lane
8
Affects Status Importance Assigned to Milestone
libxml-sax-perl (Ubuntu)
Invalid
Undecided
Pascal De Vuyst

Bug Description

Binary package hint: update-manager

During upgrade from Kubuntu 7.10 to Kubuntu 8.04, received warning:

Could not install 'libxml-sax-perl'
The upgrade will continue but the 'libxml-sax-perl' package may be in a not working state. Please consider submitting a bugreport about it.

subprocess post-installation script returned error exit status 255

The last message in the terminal window was:
Setting up libcompizconfig0 (0.7.4-0ubuntu1) ...

Tags: gutsy2hardy
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Please attach the files in /var/log/dist-upgrade to this bugreport.
 Thanks Michael

Changed in update-manager:
status: New → Incomplete
Revision history for this message
Cory Albrecht (bytor) wrote :

I am having this same problem on Ubuntu Hardy Heron x86_64

root@snowdog:~# apt-get install libxml-sax-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libxml-sax-perl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 79.4kB of archives.
After this operation, 446kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com hardy/main libxml-sax-perl 0.16-0.1 [79.4kB]
Fetched 79.4kB in 1s (47.8kB/s)
Selecting previously deselected package libxml-sax-perl.
(Reading database ... 177367 files and directories currently installed.)
Unpacking libxml-sax-perl (from .../libxml-sax-perl_0.16-0.1_all.deb) ...
Setting up libxml-sax-perl (0.16-0.1) ...
Can't locate object method "save_parsers_debian" via package "XML::SAX" at /usr/bin/update-perl-sax-parsers line 90.
dpkg: error processing libxml-sax-perl (--configure):
 subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
 libxml-sax-perl
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@snowdog:~#

Revision history for this message
Kajsa Anderson (kajsa-anderson) wrote :

I've got the same problem, using Ubuntu Hardy Heron ix86.

From /var/log/apt/term.log:

Setting up libxml-sax-perl (0.16-0.1) ...
Can't locate object method "save_parsers_debian" via package "XML::SAX" at /usr/bin/update-perl-sax-parsers line 90.
dpkg: error processing libxml-sax-perl (--configure):
 subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of libxml-libxml-perl:
 libxml-libxml-perl depends on libxml-sax-perl (>= 0.11); 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-libxslt-perl:
 libxml-libxslt-perl depends on libxml-libxml-perl (>= 1.60); however:
  Package libxml-libxml-perl is not configured yet.
dpkg: error processing libxml-libxslt-perl (--configure):
 dependency problems - leaving unconfigured

Revision history for this message
rlopez (rlopez-cnm) wrote : RE: [Bug 222726] Re: Could not install 'libxml-sax-perl'

Hello Kajsa,

Did you ever use CPAN to install any perl modules on your system?

I my case _I_think_ that may have been the source of my problem.

I did some locate and find searches and I found I had the sax files in different locations.

I decided (perhaps not correctly) that those in /usr/local/ were from CPAN dependency installations.
I did this:
find /usr/local -name *SAX* -exec rm -fR '{}' \;
then I used Synaptic Package manager to completely remove, the other versions in this order:
libxml-sax-perl
libxml-libxml-perl
libxml-simple-perl
check_gmail
(Those because those were the ones that were giving me problems at the time)
Then I used Synaptic Package manager to reinstall them in the same order.
I have not had the problem since then.

Robert Lopez
Unix Systems Administrator
Office of Information Technology Services
Central New Mexico Community College (CNM)
525 Buena Vista SE
Albuquerque, New Mexico 87106
(505) 224-3058
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Kajsa Anderson
Sent: Tuesday, July 22, 2008 10:44 PM
To: LOPEZ, ROBERT
Subject: [Bug 222726] Re: Could not install 'libxml-sax-perl'

I've got the same problem, using Ubuntu Hardy Heron ix86.

>From /var/log/apt/term.log:

Setting up libxml-sax-perl (0.16-0.1) ...
Can't locate object method "save_parsers_debian" via package "XML::SAX" at /usr/bin/update-perl-sax-parsers line 90.
dpkg: error processing libxml-sax-perl (--configure):
 subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of libxml-libxml-perl:
 libxml-libxml-perl depends on libxml-sax-perl (>= 0.11); 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-libxslt-perl:
 libxml-libxslt-perl depends on libxml-libxml-perl (>= 1.60); however:
  Package libxml-libxml-perl is not configured yet.
dpkg: error processing libxml-libxslt-perl (--configure):
 dependency problems - leaving unconfigured

--
Could not install 'libxml-sax-perl'
https://bugs.launchpad.net/bugs/222726
You received this bug notification because you are a direct subscriber
of the bug.

Status in “libxml-sax-perl” source package in Ubuntu: Incomplete

Bug description:
Binary package hint: update-manager

During upgrade from Kubuntu 7.10 to Kubuntu 8.04, received warning:

Could not install 'libxml-sax-perl'
The upgrade will continue but the 'libxml-sax-perl' package may be in a not working state. Please consider submitting a bugreport about it.

subprocess post-installation script returned error exit status 255

The last message in the terminal window was:
Setting up libcompizconfig0 (0.7.4-0ubuntu1) ...

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Cory Albrecht, Kajsa Anderson, rlopez,
This bug has already been reported as bug #222506.

Diana Lane,
We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in libxml-sax-perl:
assignee: nobody → pascal-devuyst
status: Incomplete → Invalid
Revision history for this message
Kajsa Anderson (kajsa-anderson) wrote :

@ rlopez - Yes, I had used CPAN to install some modules. Your suggestion of removing and reinstalling (with Synaptic) the modules I was having problems with resolved the issue.

Lesson learned: Stick to just one package manager.

Thanks for the suggestion.

Revision history for this message
rlopez (rlopez-cnm) wrote :

You are welcome.
My problem is there is so much more (perl) available via CPAN than via Synaptic.
Best to you

Robert Lopez
Unix Systems Administrator
Office of Information Technology Services
Central New Mexico Community College (CNM)
525 Buena Vista SE
Albuquerque, New Mexico 87106
(505) 224-3058

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Kajsa Anderson
Sent: Sunday, August 03, 2008 8:35 PM
To: LOPEZ, ROBERT
Subject: [Bug 222726] Re: Could not install 'libxml-sax-perl'

@ rlopez - Yes, I had used CPAN to install some modules. Your suggestion
of removing and reinstalling (with Synaptic) the modules I was having
problems with resolved the issue.

Lesson learned: Stick to just one package manager.

Thanks for the suggestion.

--
Could not install 'libxml-sax-perl'
https://bugs.launchpad.net/bugs/222726
You received this bug notification because you are a direct subscriber
of the bug.

Status in “libxml-sax-perl” source package in Ubuntu: Invalid

Bug description:
Binary package hint: update-manager

During upgrade from Kubuntu 7.10 to Kubuntu 8.04, received warning:

Could not install 'libxml-sax-perl'
The upgrade will continue but the 'libxml-sax-perl' package may be in a not working state. Please consider submitting a bugreport about it.

subprocess post-installation script returned error exit status 255

The last message in the terminal window was:
Setting up libcompizconfig0 (0.7.4-0ubuntu1) ...

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.