由于依赖性问题而跳过的包:

由于依赖性问题而跳过的包:

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

正如您所看到的,您安装了同一工具的 2 个不同版本(第二个和第三个),第一个是存储库尝试更新的版本。

您可以做的一件事是删除最旧版本的 glibc(或完全删除),然后尝试卸载它们。

如果您无法删除它,请执行以下操作:

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

希望这能清理混乱。

如果您有任何问题,请在此发布您的进一步问题。

祝你好运

相关内容