Preparing to replace libxml-sax-perl 0.96+dfsg-1 (using libxml-sax-perl_0.96+dfsg-1_all.deb) ... Unpacking replacement libxml-sax-perl ... Setting up libxml-sax-perl (0.96+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... Fatal: cannot call XML::SAX->save_parsers_debian(). You probably have a locally installed XML::SAX module. See /usr/share/doc/libxml-sax-perl/README.Debian.gz . dpkg: error processing libxml-sax-perl (--install): subprocess post-installation script returned error exit status 1 Processing triggers for man-db ... Errors were encountered while processing: libxml-sax-perl
I was able to work around this using:
cd /usr/local/share/perl/5.10.0/XML/ mkdir dnu mv SAX* dnu/ apt-get install libxml-libxml-perl
Thanks for the info this was exactly what I needed to get out of the spot I was in! That will teach me to use cpan in distros.
Glad to help John, and thanks for commenting!
Thanks Albert. A newbie like me otherwise could not have crossed this hurdle so easily...
Hey Swathy - thanks for commenting, glad I could help!
It was so GREAT....thanks man !!!!
I was searching for this too, and it's a well known incompatibility.
This is a problem in the interaction between the CPAN version of XML::SAX and the one Debian packages, or something like that.
When I followed the error's message advice and read /usr/share/doc/libxml-sax-perl/README.Debian.gz (no need to uncompress, just use "less") and used the little Perl script at the end of that to remove XML::SAX (have to "sudo" or it does not do it and does NOT give error, just looks like it was done), things worked fine.
Thank you so much!!