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つの異なるバージョン(2番目と3番目)がインストールされており、最初のバージョンはリポジトリで更新しようとしているバージョンです。
あなたができることの1つは、最も古いバージョンのglibcを削除(または完全に削除)してから削除することです。
削除できない場合は、次の操作を行います。
yum install yum-utils
yum update yum*
package-cleanup --dupes
package-cleanup --cleandupes
これが混乱を解決することを願っています。
質問がある場合は、ここに追加の質問を投稿してください。
幸運を祈る