修正する

修正する

CentOS 6.5を新しくインストールしましたが、誤ってEPEL 7イメージを追加して実行しましたyum update。ロールバックしてEPEL 6を追加する簡単な方法はありますか?


修正する

その後、EPEL 6も追加しました。

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

今私がするとき

rpm -qa | grep epel

わかりました。

epel-release-6-8.noarch

しかし、インストールしようとするとR、私は得る

Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
           Requires: liblzma.so.5()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
           Requires: liblzma.so.5(XZ_5.0)(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
           Requires: libtiff.so.5()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
           Requires: libpcre.so.1()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
           Requires: libpng15.so.15()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
           Requires: libicui18n.so.50()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
           Requires: libquadmath.so.0()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
           Requires: libpng15.so.15(PNG15_0)(64bit)
Error: Package: R-java-3.1.1-3.el7.x86_64 (epel)
           Requires: java-headless
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
           Requires: libicuuc.so.50()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
           Requires: libtiff.so.5(LIBTIFF_4.0)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

これにより、R-core-3.1.1-3.el7.x86_64CentOS 6イメージで未解決の依存関係を持つRのEL7バージョンを探していると信じられます。

ベストアンサー1

yum erase epel-release-6-8.noarch
yum install epel-release-6-8.noarch

おすすめ記事