Ubuntu Software Centre: Removing libxml-libxml-perl ... Error in function:

Bug #1166981 reported by Carla Granberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libxml-libxml-perl (Ubuntu)
New
Undecided
Unassigned

Bug Description

FULL ERROR MESSAGE OUTPUT BY Ubuntu Software Centre:
Removing libxml-libxml-perl ... /var/lib/dpkg/info/libxml-libxml-perl.prerm: 11: /var/lib/dpkg/info/libxml-libxml-perl.prerm: update-perl-sax-parsers: not found dpkg: error processing libxml-libxml-perl (--remove): subprocess installed pre-removal script returned error exit status 127

No apport report written because MaxReports is reached already
Errors were encountered while processing: libxml-libxml-perl Error in function:

======================================================================

The above error was preceded by the following events:

1. Upgrade from Ubuntu 11.10 to Ubuntu 12.04 LTS
2. During upgrade, the following error message was provided and logged:
-------------------------------------------------------------------------------------------------------------
 Could not install 'libxml-libxml-perl'
The upgrade will continue but the 'libxml-libxml-perl' package may not be in a working state. Please consider submitting a bug report about it.
subprocess installed pre-removal script returned error exit status 127
-------------------------------------------------------------------------------------------------------------

What step can be taken next to fix this bug?

Revision history for this message
Carla Granberg (cgranberg) wrote :

ALSO:

The above error renders the Ubuntu Software Centre "unusable". Upon startup the Software Centre now displays the following message:

Items cannot be installed or removed until the package catalogue is repaired.
Do you want to repair it now?

Once Update Manager has finished the repairs, you can close it and return to the store.

------------------------------------------------------------------------

When the Repair button is clicked, then we returned to thefirst error message reported
"Removing libxml-libxml-perl ..."
reported above

Stuck in a loop ...

Revision history for this message
Carla Granberg (cgranberg) wrote :

UPDATE:
Running this in a terminal window:

      sudo rm /var/lib/dpkg/info/libxml-libxml-perl.prerm

allowed the Ubuntu Software Centre to perform the Repair (mentioned above) successfully.

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.