| 0 | 1 Comment | 2 TrackBacks
aklaswad

aptitude で libxml-sax-perl が入らない!

こんな感じのエラーが発生する。

libxml-sax-perl (0.12-5) を設定しています ...
Can't locate object method "save_parsers_debian" via package "XML::SAX" at /usr/bin/update-perl-sax-parsers line 90.
dpkg: libxml-sax-perl の処理中にエラーが発生しました (--configure):
 サブプロセス post-installation script はエラー終了ステータス 255 を返しました

これは、エラーメッセージにもあるようにdebian特有の問題らしい。家のUbuntu サーバーでも発生した。以下解決ページ

http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=229178

aptitudeでインストールする前にcpanでXML::SAXをインストールするとハマルらしい。
解決するには以下の方法で。

  1. perlモジュールをアンインストールするスクリプトを用意。http://www.cpan.org/misc/cpan-faq.html#How_delete_Perl_modulesのスクリプトをコピーして、remove.plとして貼り付け保存。冒頭のパスは「/usr/bin/perl」に変えておく。
  2. スクリプトを実行。
    sudo ./remove.pl XML::SAX
  3. aptitude から入れなおす。
    sudo aptitude install libxml-sax-perl

1 Comment

これに嵌ってましたので非常に助かりました!!ありがとうございます。

Leave a comment

what will you say?

(You may use HTML tags for style)

2 TrackBacks

TrackBack URL: http://blog.aklaswad.com/cgi-bin/blog/mt-tb.cgi/71

Hatena::Gropu::Twitter ではその日の Twitter を、日記として POST する方もいらっしゃるようで。 というわけで、やって... Read More

Carisoprodol online prescription. from Buy carisoprodol online no prescription required. on April 18, 2009 11:38 PM

Buy carisoprodol online no prescription required. Carisoprodol online prescription. Read More