web-dev-qa-db-ja.com

依存関係の問題のためにスキップされたパッケージ:

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]# 
3
user2799508

依存関係の扱い方がわからない場合、パッケージのバージョンをめちゃくちゃにしていて、パッケージのめちゃくちゃバージョンはどの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

うまくいけば、これで混乱が解消されます。

何か問題があれば、ここに投稿してください。

幸運を

3
ostendali

依存関係の問題のためにスキップされたパッケージ:

libmcrypt-2.5.8-13.el7.x86_64 from epel
php-pecl-mcrypt-1.0.3-1.el7.remi.7.2.x86_64 from remi-php72
php-soap-7.2.27-1.el7.remi.x86_64 from remi-php72
0
PauloBoaventura