종속성 문제로 인해 건너뛴 패키지:

종속성 문제로 인해 건너뛴 패키지:

2.6.32-71.el6.x86_64
RHEL 6

마지막에 종속성으로 인해 몇 가지 문제가 있습니다.

[root@xilinx Downloads]# yum install --skip-broken  glibc*
Loaded plugins: refresh-packagekit, rhnplugin
There was an error parsing the RHN proxy settings.
RHN support will be disabled.
Setting up Install Process
Examining glibc-2.12-7.2.x86_64.rpm: glibc-2.12-7.2.x86_64
Marking glibc-2.12-7.2.x86_64.rpm as an update to glibc-2.12-1.7.el6.x86_64
Marking glibc-2.12-7.2.x86_64.rpm as an update to glibc-2.12-1.7.el6.i686
Examining glibc-2.15-60.el6.x86_64.rpm: glibc-2.15-60.el6.x86_64
Marking glibc-2.15-60.el6.x86_64.rpm as an update to glibc-2.12-1.7.el6.x86_64
Marking glibc-2.15-60.el6.x86_64.rpm as an update to glibc-2.12-1.7.el6.i686
Examining glibc-common-2.12-7.2.x86_64.rpm: glibc-common-2.12-7.2.x86_64
Marking glibc-common-2.12-7.2.x86_64.rpm as an update to glibc-common-2.12-1.7.el6.x86_64
Examining glibc-common-2.15-60.el6.x86_64.rpm: glibc-common-2.15-60.el6.x86_64
Marking glibc-common-2.15-60.el6.x86_64.rpm as an update to glibc-common-2.12-1.7.el6.x86_64
Examining glibc-devel-2.12-7.2.x86_64.rpm: glibc-devel-2.12-7.2.x86_64
Marking glibc-devel-2.12-7.2.x86_64.rpm as an update to glibc-devel-2.12-1.7.el6.x86_64
Marking glibc-devel-2.12-7.2.x86_64.rpm as an update to glibc-devel-2.12-1.7.el6.i686
Examining glibc-devel-2.15-60.el6.x86_64.rpm: glibc-devel-2.15-60.el6.x86_64
Marking glibc-devel-2.15-60.el6.x86_64.rpm as an update to glibc-devel-2.12-1.7.el6.x86_64
Marking glibc-devel-2.15-60.el6.x86_64.rpm as an update to glibc-devel-2.12-1.7.el6.i686
Examining glibc-headers-2.15-60.el6.x86_64.rpm: glibc-headers-2.15-60.el6.x86_64
Marking glibc-headers-2.15-60.el6.x86_64.rpm as an update to glibc-headers-2.12-1.7.el6.x86_64
Examining glibc-static-2.12-7.2.x86_64.rpm: glibc-static-2.12-7.2.x86_64
Marking glibc-static-2.12-7.2.x86_64.rpm to be installed
Examining glibc-static-2.15-60.el6.x86_64.rpm: glibc-static-2.15-60.el6.x86_64
Marking glibc-static-2.15-60.el6.x86_64.rpm to be installed
Examining glibc-static-2.18-12.fc20.x86_64.rpm: glibc-static-2.18-12.fc20.x86_64
Marking glibc-static-2.18-12.fc20.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.15-60.el6 set to be updated
--> Processing Dependency: glibc-common = 2.12-1.7.el6 for package: glibc-2.12-1.7.el6.i686
---> Package glibc-common.x86_64 0:2.15-60.el6 set to be updated
---> Package glibc-devel.x86_64 0:2.15-60.el6 set to be updated
--> Processing Dependency: glibc-headers = 2.12-1.7.el6 for package: glibc-devel-2.12-1.7.el6.i686
---> Package glibc-headers.x86_64 0:2.15-60.el6 set to be updated
---> Package glibc-static.x86_64 0:2.12-7.2 set to be updated
--> Processing Dependency: glibc-devel = 2.12-7.2 for package: glibc-static-2.12-7.2.x86_64
---> Package glibc-static.x86_64 0:2.15-60.el6 set to be updated
---> Package glibc-static.x86_64 0:2.18-12.fc20 set to be updated
--> Processing Dependency: glibc-devel = 2.18-12.fc20 for package: glibc-static-2.18-12.fc20.x86_64
--> Finished Dependency Resolution
--> Running transaction check
---> Package glibc.x86_64 0:2.15-60.el6 set to be updated
--> Processing Dependency: glibc-common = 2.15-60.el6 for package: glibc-2.15-60.el6.x86_64
---> Package glibc-devel.x86_64 0:2.15-60.el6 set to be updated
--> Processing Dependency: glibc-headers = 2.15-60.el6 for package: glibc-devel-2.15-60.el6.x86_64
---> Package glibc-static.x86_64 0:2.15-60.el6 set to be updated
--> Finished Dependency Resolution
--> Running transaction check
---> Package glibc-static.x86_64 0:2.15-60.el6 set to be updated
--> Processing Dependency: glibc-devel = 2.15-60.el6 for package: glibc-static-2.15-60.el6.x86_64
--> Finished Dependency Resolution

Packages skipped because of dependency problems:
    glibc-2.15-60.el6.x86_64 from /glibc-2.15-60.el6.x86_64
    glibc-common-2.15-60.el6.x86_64 from /glibc-common-2.15-60.el6.x86_64
    glibc-devel-2.15-60.el6.x86_64 from /glibc-devel-2.15-60.el6.x86_64
    glibc-headers-2.15-60.el6.x86_64 from /glibc-headers-2.15-60.el6.x86_64
    glibc-static-2.12-7.2.x86_64 from /glibc-static-2.12-7.2.x86_64
    glibc-static-2.15-60.el6.x86_64 from /glibc-static-2.15-60.el6.x86_64
    glibc-static-2.18-12.fc20.x86_64 from /glibc-static-2.18-12.fc20.x86_64

그래서 내 프로그램 중 일부가 작동하지 않는 것일 수도 있습니다. 이 종속성 문제를 해결하는 방법은 무엇입니까?

고쳐 쓰다

[root@xilinx Downloads]# yum install   glibc*
Loaded plugins: refresh-packagekit, rhnplugin
There was an error parsing the RHN proxy settings.
RHN support will be disabled.
Setting up Install Process
Examining glibc-2.12-7.2.x86_64.rpm: glibc-2.12-7.2.x86_64
Marking glibc-2.12-7.2.x86_64.rpm as an update to glibc-2.12-1.7.el6.x86_64
Marking glibc-2.12-7.2.x86_64.rpm as an update to glibc-2.12-1.7.el6.i686
Examining glibc-2.15-60.el6.x86_64.rpm: glibc-2.15-60.el6.x86_64
Marking glibc-2.15-60.el6.x86_64.rpm as an update to glibc-2.12-1.7.el6.x86_64
Marking glibc-2.15-60.el6.x86_64.rpm as an update to glibc-2.12-1.7.el6.i686
Examining glibc-common-2.12-7.2.x86_64.rpm: glibc-common-2.12-7.2.x86_64
Marking glibc-common-2.12-7.2.x86_64.rpm as an update to glibc-common-2.12-1.7.el6.x86_64
Examining glibc-common-2.15-60.el6.x86_64.rpm: glibc-common-2.15-60.el6.x86_64
Marking glibc-common-2.15-60.el6.x86_64.rpm as an update to glibc-common-2.12-1.7.el6.x86_64
Examining glibc-devel-2.12-7.2.x86_64.rpm: glibc-devel-2.12-7.2.x86_64
Marking glibc-devel-2.12-7.2.x86_64.rpm as an update to glibc-devel-2.12-1.7.el6.x86_64
Marking glibc-devel-2.12-7.2.x86_64.rpm as an update to glibc-devel-2.12-1.7.el6.i686
Examining glibc-devel-2.15-60.el6.x86_64.rpm: glibc-devel-2.15-60.el6.x86_64
Marking glibc-devel-2.15-60.el6.x86_64.rpm as an update to glibc-devel-2.12-1.7.el6.x86_64
Marking glibc-devel-2.15-60.el6.x86_64.rpm as an update to glibc-devel-2.12-1.7.el6.i686
Examining glibc-headers-2.15-60.el6.x86_64.rpm: glibc-headers-2.15-60.el6.x86_64
Marking glibc-headers-2.15-60.el6.x86_64.rpm as an update to glibc-headers-2.12-1.7.el6.x86_64
Examining glibc-static-2.12-7.2.x86_64.rpm: glibc-static-2.12-7.2.x86_64
Marking glibc-static-2.12-7.2.x86_64.rpm to be installed
Examining glibc-static-2.15-60.el6.x86_64.rpm: glibc-static-2.15-60.el6.x86_64
Marking glibc-static-2.15-60.el6.x86_64.rpm to be installed
Examining glibc-static-2.18-12.fc20.x86_64.rpm: glibc-static-2.18-12.fc20.x86_64
Marking glibc-static-2.18-12.fc20.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.15-60.el6 set to be updated
--> Processing Dependency: glibc-common = 2.12-1.7.el6 for package: glibc-2.12-1.7.el6.i686
---> Package glibc-common.x86_64 0:2.15-60.el6 set to be updated
---> Package glibc-devel.x86_64 0:2.15-60.el6 set to be updated
--> Processing Dependency: glibc-headers = 2.12-1.7.el6 for package: glibc-devel-2.12-1.7.el6.i686
---> Package glibc-headers.x86_64 0:2.15-60.el6 set to be updated
---> Package glibc-static.x86_64 0:2.12-7.2 set to be updated
--> Processing Dependency: glibc-devel = 2.12-7.2 for package: glibc-static-2.12-7.2.x86_64
---> Package glibc-static.x86_64 0:2.15-60.el6 set to be updated
---> Package glibc-static.x86_64 0:2.18-12.fc20 set to be updated
--> Processing Dependency: glibc-devel = 2.18-12.fc20 for package: glibc-static-2.18-12.fc20.x86_64
--> Finished Dependency Resolution
Error: Package: glibc-static-2.18-12.fc20.x86_64 (/glibc-static-2.18-12.fc20.x86_64)
           Requires: glibc-devel = 2.18-12.fc20
           Installed: glibc-devel-2.12-1.7.el6.i686 (@server)
               glibc-devel = 2.12-1.7.el6
           Removing: glibc-devel-2.12-1.7.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
               glibc-devel = 2.12-1.7.el6
           Updated By: glibc-devel-2.15-60.el6.x86_64 (/glibc-devel-2.15-60.el6.x86_64)
               glibc-devel = 2.15-60.el6
Error: Package: glibc-static-2.12-7.2.x86_64 (/glibc-static-2.12-7.2.x86_64)
           Requires: glibc-devel = 2.12-7.2
           Installed: glibc-devel-2.12-1.7.el6.i686 (@server)
               glibc-devel = 2.12-1.7.el6
           Removing: glibc-devel-2.12-1.7.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
               glibc-devel = 2.12-1.7.el6
           Updated By: glibc-devel-2.15-60.el6.x86_64 (/glibc-devel-2.15-60.el6.x86_64)
               glibc-devel = 2.15-60.el6
Error: Package: glibc-devel-2.12-1.7.el6.i686 (@server)
           Requires: glibc-headers = 2.12-1.7.el6
           Removing: glibc-headers-2.12-1.7.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
               glibc-headers = 2.12-1.7.el6
           Updated By: glibc-headers-2.15-60.el6.x86_64 (/glibc-headers-2.15-60.el6.x86_64)
               glibc-headers = 2.15-60.el6
Error: Package: glibc-2.12-1.7.el6.i686 (@server)
           Requires: glibc-common = 2.12-1.7.el6
           Removing: glibc-common-2.12-1.7.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
               glibc-common = 2.12-1.7.el6
           Updated By: glibc-common-2.15-60.el6.x86_64 (/glibc-common-2.15-60.el6.x86_64)
               glibc-common = 2.15-60.el6
 You could try using --skip-broken to work around the problem
libstdc++-4.4.6-4.el6.i686 is a duplicate with libstdc++-4.4.4-13.el6.x86_64
[root@xilinx Downloads]# 

답변1

패키지 버전을 엉망으로 만든 것은 분명하며 종속성을 처리하는 방법을 모르는 경우 패키지 버전을 엉망으로 만드는 것은 Linux 배포판에 좋지 않습니다.

보시다시피 동일한 도구의 여러 버전이 설치되어 있으며 시스템은 서로 다른 버전을 보는 종속성을 충족하는 방법을 실제로 알지 못합니다.

결과를 보면 다음과 같습니다.

glibc-devel = 2.18-12.fc20
glibc-devel = 2.15-60.el6
glibc-devel = 2.12-1.7.el6

보시다시피 동일한 도구의 서로 다른 두 가지 버전(두 번째 및 세 번째)이 설치되어 있으며 첫 번째 버전은 저장소에서 업데이트하려고 하는 버전입니다.

당신이 할 수 있는 한 가지는 가장 오래된 버전의 glibc를 제거(또는 완전히 제거)한 다음 제거해 보는 것입니다.

삭제할 수 없는 경우 다음을 수행하세요.

  yum install yum-utils
  yum update yum*
  package-cleanup --dupes
  package-cleanup --cleandupes

이것이 혼란을 해결하기를 바랍니다.

질문이 있으시면 여기에 추가 질문을 게시해 주세요.

행운을 빌어요

관련 정보