#yum update
^[[3~Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use su bscription-manager to register.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.x86_64 1:2.11-2.el6 will be updated
---> Package dmidecode.x86_64 1:2.12-0.1.el6.rfx will be an update
---> Package dstat.noarch 0:0.7.0-1.el6 will be updated
---> Package dstat.noarch 0:0.7.2-1.el6.rfx will be an update
---> Package iotop.noarch 0:0.3.2-7.el6 will be updated
---> Package iotop.noarch 0:0.6-1.el6.rfx will be an update
---> Package lzo.x86_64 0:2.03-3.1.el6 will be updated
---> Package lzo.x86_64 0:2.06-1.el6.rfx will be an update
---> Package mtr.x86_64 2:0.75-5.el6 will be updated
---> Package mtr.x86_64 2:0.84-1.el6.rfx will be an update
---> Package perl-CPANPLUS.x86_64 0:0.88-136.el6 will be updated
---> Package perl-CPANPLUS.noarch 0:0.9001-1.el6.test will be an update
---> Package perl-Compress-Zlib.x86_64 0:2.021-136.el6 will be obsoleted
--> Processing Dependency: perl-Compress-Zlib for package: perl-core-5.10.1-136. el6.x86_64
---> Package perl-DBD-SQLite.x86_64 0:1.27-3.el6 will be updated
---> Package perl-DBD-SQLite.x86_64 0:1.29-2.el6.rfx will be an update
---> Package perl-DBI.x86_64 0:1.609-4.el6 will be updated
---> Package perl-DBI.x86_64 0:1.622-1.el6.rfx will be an update
---> Package perl-HTML-Parser.x86_64 0:3.64-2.el6 will be updated
---> Package perl-HTML-Parser.x86_64 0:3.69-1.el6.rfx will be an update
---> Package perl-IO-Compress.noarch 0:2.052-1.el6.rfx will be obsoleting
--> Processing Dependency: perl(Compress::Raw::Zlib) = 2.052 for package: perl-I O-Compress-2.052-1.el6.rfx.noarch
---> Package perl-IO-Compress-Base.x86_64 0:2.021-136.el6 will be obsoleted
--> Processing Dependency: perl-IO-Compress-Base for package: perl-core-5.10.1-1 36.el6.x86_64
---> Package perl-IO-Compress-Bzip2.x86_64 0:2.021-136.el6 will be obsoleted
--> Processing Dependency: perl-IO-Compress-Bzip2 for package: perl-core-5.10.1- 136.el6.x86_64
---> Package perl-IO-Compress-Zlib.x86_64 0:2.021-136.el6 will be obsoleted
--> Processing Dependency: perl-IO-Compress-Zlib for package: perl-core-5.10.1-1 36.el6.x86_64
---> Package perl-Log-Message-Simple.x86_64 0:0.04-136.el6 will be updated
---> Package perl-Log-Message-Simple.noarch 0:0.06-1.el6.rfx will be an update
---> Package perl-Module-Build.x86_64 1:0.3500-136.el6 will be updated
---> Package perl-Module-Build.noarch 1:0.3607-1.el6.rfx will be an update
---> Package perl-Module-CoreList.x86_64 0:2.18-136.el6 will be updated
---> Package perl-Module-CoreList.noarch 0:2.25-1.el6.rfx will be an update
---> Package perl-Term-UI.x86_64 0:0.20-136.el6 will be updated
---> Package perl-Term-UI.x86_64 0:0.26-1.el6.rfx will be an update
---> Package perl-Test-Harness.x86_64 0:3.17-136.el6 will be updated
---> Package perl-Test-Harness.noarch 0:3.23-1.el6.rfx will be an update
---> Package perl-Test-Simple.x86_64 0:0.92-136.el6 will be updated
---> Package perl-Test-Simple.noarch 0:0.98-1.el6.rfx will be an update
---> Package perl-Time-Piece.x86_64 0:1.15-136.el6 will be updated
---> Package perl-Time-Piece.x86_64 1:1.20-1.el6.rfx will be an update
---> Package perl-URI.noarch 0:1.40-2.el6 will be updated
---> Package perl-URI.noarch 0:1.60-1.el6.rfx will be an update
---> Package perl-XML-Parser.x86_64 0:2.36-7.el6 will be updated
---> Package perl-XML-Parser.x86_64 0:2.40-1.el6.rfx will be an update
---> Package perl-XML-Twig.noarch 0:3.34-1.el6 will be updated
---> Package perl-XML-Twig.noarch 0:3.37-1.el6.rfx will be an update
---> Package perl-libwww-perl.noarch 0:5.833-2.el6 will be updated
---> Package perl-libwww-perl.noarch 0:5.837-2.el6.rfx will be an update
---> Package portreserve.x86_64 0:0.0.4-9.el6 will be updated
---> Package portreserve.x86_64 0:0.0.5-2.el6.rfx will be an update
---> Package python-crypto.x86_64 0:2.0.1-22.el6 will be updated
---> Package python-crypto.x86_64 0:2.6.1-1.el6.rfx will be an update
---> Package python-netaddr.noarch 0:0.7.5-4.el6 will be updated
---> Package python-netaddr.noarch 0:0.7.10-1.el6.rfx will be an update
---> Package python-paramiko.noarch 0:1.7.5-2.1.el6 will be updated
---> Package python-paramiko.noarch 0:1.7.6-1.el6.rfx will be an update
---> Package rsync.x86_64 0:3.0.6-9.el6_4.1 will be updated
---> Package rsync.x86_64 0:3.1.1-1.el6.rfx will be an update
---> Package tcp_wrappers.x86_64 0:7.6-57.el6 will be updated
---> Package tcp_wrappers.x86_64 0:7.6-57.el6.test will be an update
---> Package tcp_wrappers-libs.x86_64 0:7.6-57.el6 will be updated
---> Package tcp_wrappers-libs.x86_64 0:7.6-57.el6.test will be an update
---> Package tcpdump.x86_64 14:4.0.0-3.20090921gitdf3cb4.2.el6 will be updated
---> Package tcpdump.x86_64 14:4.4.0-1.el6.rft will be an update
--> Finished Dependency Resolution
Error: Package: perl-core-5.10.1-136.el6.x86_64 (@anaconda-RedHatEnterpriseLinux -201311111358.x86_64/6.5)
Requires: perl-IO-Compress-Base
Removing: perl-IO-Compress-Base-2.021-136.el6.x86_64 (@anaconda-RedHa tEnterpriseLinux-201311111358.x86_64/6.5)
perl-IO-Compress-Base = 2.021-136.el6
Obsoleted By: perl-IO-Compress-2.052-1.el6.rfx.noarch (rpmforge-extra s)
Not found
Error: Package: perl-core-5.10.1-136.el6.x86_64 (@anaconda-RedHatEnterpriseLinux -201311111358.x86_64/6.5)
Requires: perl-Compress-Zlib
Removing: perl-Compress-Zlib-2.021-136.el6.x86_64 (@anaconda-RedHatEn terpriseLinux-201311111358.x86_64/6.5)
perl-Compress-Zlib = 2.021-136.el6
Obsoleted By: perl-IO-Compress-2.052-1.el6.rfx.noarch (rpmforge-extra s)
Not found
Error: Package: perl-IO-Compress-2.052-1.el6.rfx.noarch (rpmforge-extras)
Requires: perl(Compress::Raw::Zlib) = 2.052
Installed: 1:perl-Compress-Raw-Zlib-2.021-136.el6.x86_64 (@anaconda-R edHatEnterpriseLinux-201311111358.x86_64/6.5)
perl(Compress::Raw::Zlib) = 2.021
Available: perl-Compress-Raw-Zlib-2.030-1.el6.rfx.x86_64 (rpmforge-ex tras)
perl(Compress::Raw::Zlib) = 2.030
Available: perl-Compress-Raw-Zlib-2.033-1.el6.rfx.x86_64 (rpmforge-ex tras)
perl(Compress::Raw::Zlib) = 2.033
Available: perl-Compress-Raw-Zlib-2.034-1.el6.rfx.x86_64 (rpmforge-ex tras)
perl(Compress::Raw::Zlib) = 2.034
Available: perl-Compress-Raw-Zlib-2.035-1.el6.rfx.x86_64 (rpmforge-ex tras)
perl(Compress::Raw::Zlib) = 2.035
Available: perl-Compress-Raw-Zlib-2.037-1.el6.rfx.x86_64 (rpmforge-ex tras)
perl(Compress::Raw::Zlib) = 2.037
Available: perl-Compress-Raw-Zlib-2.051-1.el6.rfx.x86_64 (rpmforge-ex tras)
perl(Compress::Raw::Zlib) = 2.051
Available: perl-Compress-Raw-Zlib-2.052-1.el6.rfx.x86_64 (rpmforge-ex tras)
perl(Compress::Raw::Zlib) = 2.052
Error: Package: perl-core-5.10.1-136.el6.x86_64 (@anaconda-RedHatEnterpriseLinux -201311111358.x86_64/6.5)
Requires: perl-IO-Compress-Bzip2
Removing: perl-IO-Compress-Bzip2-2.021-136.el6.x86_64 (@anaconda-RedH atEnterpriseLinux-201311111358.x86_64/6.5)
perl-IO-Compress-Bzip2 = 2.021-136.el6
Obsoleted By: perl-IO-Compress-2.052-1.el6.rfx.noarch (rpmforge-extra s)
Not found
Available: perl-IO-Compress-Bzip2-2.015-1.el6.rf.noarch (rpmforge)
perl-IO-Compress-Bzip2 = 2.015-1.el6.rf
Error: Package: perl-core-5.10.1-136.el6.x86_64 (@anaconda-RedHatEnterpriseLinux -201311111358.x86_64/6.5)
Requires: perl-IO-Compress-Zlib
Removing: perl-IO-Compress-Zlib-2.021-136.el6.x86_64 (@anaconda-RedHa tEnterpriseLinux-201311111358.x86_64/6.5)
perl-IO-Compress-Zlib = 2.021-136.el6
Obsoleted By: perl-IO-Compress-2.052-1.el6.rfx.noarch (rpmforge-extra s)
Not found
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
rpmforge-release-0.5.3-1.el6.rf.x86_64 is a duplicate with rpmforge-release-0.5. 2-2.el5.rf.x86_64
답변1
이 상자를 관리하는 사람은 누구나 꽤 큰 일을 한 것입니다. 동일한 패키지를 제공하는 YUM 저장소를 혼합하고 있습니다.
예를 들어 다음 줄을 참고하세요.
Error: Package: perl-core-5.10.1-136.el6.x86_64 (@anaconda-RedHatEnterpriseLinux -201311111358.x86_64/6.5)
Error: Package: perl-IO-Compress-2.052-1.el6.rfx.noarch (rpmforge-extras)
마지막 몇 줄의 "@anaconda-RedHatEnterpriseLinux -201311111358.x86_64/6.5" 및 "rpmforge-extras"는 2개의 YUM 저장소입니다. 표면적으로는 둘 다 충돌하는 패키지를 포함하고 있습니다. 실제로 이러한 유형의 문제를 해결하는 쉬운 방법은 없습니다. 적어도 나는 본 적이 없습니다.
yum remove X
일반적 으로 "rpmforge-extras"와 같은 타사 저장소에서 문제의 패키지를 사용해야 합니다 . 이는 수술을 하는 것과 같기 때문에 조심해야 합니다. 그렇지 않으면 시스템이 더 심각한 상태로 들어갈 수 있습니다.