yum updateでパッケージを更新しようとしたところ、ドバドバっと色々表示されて、挙げ句にエラーが出ました。こんなに更新してないはずは・・・。
--> Processing Dependency: /usr/lib/python2.4 for package: gamin-python --> Processing Dependency: /usr/lib/python2.4 for package: libxslt-python --> Processing Dependency: /usr/lib/python2.4 for package: libxml2-python --> Finished Dependency Resolution gamin-python-0.1.7-8.el5.i386 from installed has depsolving problems --> Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed) libxslt-python-1.1.17-2.el5_2.2.i386 from installed has depsolving problems --> Missing Dependency: /usr/lib/python2.4 is needed by package libxslt-python-1.1.17-2.el5_2.2.i386 (installed) libxml2-python-2.6.26-2.1.2.8.i386 from updates has depsolving problems --> Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.8.i386 (updates) Error: Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed) Error: Missing Dependency: /usr/lib/python2.4 is needed by package libxslt-python-1.1.17-2.el5_2.2.i386 (installed) Error: Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.8.i386 (updates)
いったん全てクリアしてみることに。
# yum clean all # yum update
すごい大量に更新パッケージが表示されました。いったい何が起きたのか。とりあえず、そのまま更新して問題ないようです。
参考
Linux備忘録&ちょっと休憩しましょ:rpmforgeをセットしなおしたら – livedoor Blog(ブログ)