I just installed Ubuntu 12.04 over 10.04. It seemed to go OK until I tried running my updates. When I launch Software Center I get the following error 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.
So I hit repair and then I get this message:
Package operation failed
The installation or removal of a software package failed.
So I hit OK and it goes back to the first error message
And it just continues repeating those two messages. How do I fix whatever is broken? I reviewed answers for similar questions. I tried the suggestions in that link but they did not work. I tried to post the results but, being new to this system I am not allowed to post more than 2 links. However, it seems the crux of the problem is this:
(Reading database ... 742676 files and directories currently installed.)
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
Errors were encountered while processing:
libxml-libxml-perl
E: Sub-process /usr/bin/dpkg returned an error code (1)