CentOSでcity-fan.orgのリポジトリエラー?
CentOS-RELEASE6.7でyum updateやらを実行するとやたらと依存性絡みのエラーが発生して作業が進まない。
メッセージを見ているとcity-fan.orgリポジトリに関してエラーが発生している感じだった↓:
$ yum upgrade
...
--> 依存性の処理をしています: liblzma.so.5()(64bit) のパッケージ: python-libxml2-2.9.4-1.0.cf.rhel6.x86_64
--> 依存性解決を終了しました。
エラー: パッケージ: python-libxml2-2.9.4-1.0.cf.rhel6.x86_64 (city-fan.org)
要求: libxml2.so.2(LIBXML2_2.9.1)(64bit)
エラー: パッケージ: python-libxml2-2.9.4-1.0.cf.rhel6.x86_64 (city-fan.org)
要求: libxml2.so.2(LIBXML2_2.8.0)(64bit)
エラー: パッケージ: python-libxml2-2.9.4-1.0.cf.rhel6.x86_64 (city-fan.org)
要求: libxml2.so.2(LIBXML2_2.9.0)(64bit)
エラー: パッケージ: perl-IO-Compress-2.069-1.rhel6.noarch (city-fan.org)
要求: perl(Compress::Raw::Zlib) >= 2.069
インストール: 1:perl-Compress-Raw-Zlib-2.021-141.el6_7.1.x86_64 (@updates)
perl(Compress::Raw::Zlib) = 2.021
エラー: パッケージ: perl-IO-Compress-2.069-1.rhel6.noarch (city-fan.org)
要求: perl(Compress::Raw::Bzip2) >= 2.069
利用可能: perl-Compress-Raw-Bzip2-2.021-141.el6_7.1.x86_64 (base)
perl(Compress::Raw::Bzip2) = 2.021
エラー: パッケージ: python-libxml2-2.9.4-1.0.cf.rhel6.x86_64 (city-fan.org)
要求: libxml2(x86-64) = 2.9.4-1.0.cf.rhel6
インストール: libxml2-2.7.6-21.el6.x86_64 (@base)
libxml2(x86-64) = 2.7.6-21.el6
エラー: パッケージ: python-libxml2-2.9.4-1.0.cf.rhel6.x86_64 (city-fan.org)
要求: liblzma.so.5()(64bit)
問題を回避するために --skip-broken を用いることができません
これらを試行できます: rpm -Va --nofiles --nodigest
なので、とりあえずcity-fan.orgをenabled=0にしてみると、更新作業は動作するようになった。
$ vi /etc/yum.repos.d/city-fan.org.repo [city-fan.org] name=city-fan.org repository for Red Hat Enterprise Linux (and clones) $releasever ($basearch) ... enabled=0
city-fan.orgって前からenabledになってたのかな?