RedHat Glibc - 複数のパッケージ

RedHat Glibc - 複数のパッケージ

この問題を議論する前にRedHat 6.5を使用しており、環境制限のためにインターネットにアクセスしてyumアップデートをダウンロードすることはできません。この場合、私が持っているのは動作するCD ROM(RHEL 6.5)だけです。イメージが更新された後、インターネットサーバーを使用して更新を取得しますが、その前にサーバーを独立して実行できる必要があります。

イメージでは、ldapsearchを使用する必要があり、yum whatprovides */ldapsearchどのパッケージをインストールするかを決定するために1つ作成しました。

私は受け取った:

openldap-clients-2.4.23-32.el6_4.1.x86_64 : LDAP client utilities
Repo        : cdrom
Matched from:
Filename    : /usr/bin/ldapsearch

このパッケージをインストールするとき:

[root@test1 yum.repos.d]# yum install openldap-clients-2.4.23-32.el6_4.1.x86_64
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openldap-clients.x86_64 0:2.4.23-32.el6_4.1 will be installed
--> Processing Dependency: openldap = 2.4.23-32.el6_4.1 for package: openldap-clients-2.4.23-32.el6_4.1.x86_64
--> Running transaction check
---> Package openldap.i686 0:2.4.23-32.el6_4.1 will be installed
--> Processing Dependency: libssl3.so(NSS_3.7.4) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libssl3.so(NSS_3.4) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libssl3.so(NSS_3.2) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libssl3.so for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libsmime3.so for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libsasl2.so.2 for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libresolv.so.2(GLIBC_2.2) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libresolv.so.2 for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libplds4.so for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libplc4.so for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnssutil3.so for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.9.3) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.9.2) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.8) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.6) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.4) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.3) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.2) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.12.9) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.12.5) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.12.1) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.12) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.11.1) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.11) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so(NSS_3.10) for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnss3.so for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libnspr4.so for package: openldap-2.4.23-32.el6_4.1.i686
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: openldap-2.4.23-32.el6_4.1.i686
--> Running transaction check
---> Package cyrus-sasl-lib.i686 0:2.1.23-13.el6_3.1 will be installed
--> Processing Dependency: libdb-4.7.so for package: cyrus-sasl-lib-2.1.23-13.el6_3.1.i686
---> Package glibc.i686 0:2.12-1.132.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.132.el6 for package: glibc-2.12-1.132.el6.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.132.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.132.el6.i686
---> Package nspr.i686 0:4.10.0-1.el6 will be installed
---> Package nss.i686 0:3.15.1-15.el6 will be installed
--> Processing Dependency: nss-softokn(x86-32) >= 3.14.3 for package: nss-3.15.1-15.el6.i686
--> Processing Dependency: libz.so.1 for package: nss-3.15.1-15.el6.i686
--> Processing Dependency: libsoftokn3.so for package: nss-3.15.1-15.el6.i686
---> Package nss-util.i686 0:3.15.1-3.el6 will be installed
--> Running transaction check
---> Package db4.i686 0:4.7.25-18.el6_4 will be installed
---> Package glibc.i686 0:2.12-1.132.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.132.el6 for package: glibc-2.12-1.132.el6.i686
---> Package nss-softokn.i686 0:3.14.3-9.el6 will be installed
--> Processing Dependency: libsqlite3.so.0 for package: nss-softokn-3.14.3-9.el6.i686
---> Package nss-softokn-freebl.i686 0:3.14.3-9.el6 will be installed
---> Package zlib.i686 0:1.2.3-29.el6 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.12-1.132.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.132.el6 for package: glibc-2.12-1.132.el6.i686
---> Package sqlite.i686 0:3.6.20-1.el6 will be installed
--> Processing Dependency: libreadline.so.6 for package: sqlite-3.6.20-1.el6.i686
--> Running transaction check
---> Package glibc.i686 0:2.12-1.132.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.132.el6 for package: glibc-2.12-1.132.el6.i686
---> Package readline.i686 0:6.0-4.el6 will be installed
--> Processing Dependency: libtinfo.so.5 for package: readline-6.0-4.el6.i686
--> Running transaction check
---> Package glibc.i686 0:2.12-1.132.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.132.el6 for package: glibc-2.12-1.132.el6.i686
---> Package ncurses-libs.i686 0:5.7-3.20090208.el6 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.12-1.132.el6.i686 (cdrom)
           Requires: glibc-common = 2.12-1.132.el6
           Installed: glibc-common-2.12-1.132.el6_5.2.x86_64 (@updates)
               glibc-common = 2.12-1.132.el6_5.2
           Available: glibc-common-2.12-1.132.el6.x86_64 (cdrom)
               glibc-common = 2.12-1.132.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

私のバージョンに適したパッケージをインストールしていないようです。

[root@test1 yum.repos.d]# rpm -qa | grep glibc
glibc-common-2.12-1.132.el6_5.2.x86_64
glibc-2.12-1.132.el6_5.2.x86_64

明らかにglibcをアンインストールし、CD-ROM(最新バージョン提供)から再インストールしようとすると、glibcを完全に削除できないため、多くのエラーが発生します。

[root@test1 yum.repos.d]# yum install glibc*
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Package matching glibc-2.12-1.132.el6.x86_64 already installed. Checking for update.
Package matching glibc-common-2.12-1.132.el6.x86_64 already installed. Checking for update.
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.12-1.132.el6 will be installed
--> Processing Dependency: glibc = 2.12-1.132.el6 for package: glibc-devel-2.12-1.132.el6.x86_64
---> Package glibc-headers.x86_64 0:2.12-1.132.el6 will be installed
---> Package glibc-utils.x86_64 0:2.12-1.132.el6 will be installed
--> Processing Dependency: libgd.so.2()(64bit) for package: glibc-utils-2.12-1.132.el6.x86_64
--> Running transaction check
---> Package gd.x86_64 0:2.0.35-11.el6 will be installed
--> Processing Dependency: libXpm.so.4()(64bit) for package: gd-2.0.35-11.el6.x86_64
---> Package glibc.i686 0:2.12-1.132.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.132.el6 for package: glibc-2.12-1.132.el6.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.132.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.132.el6.i686
--> Running transaction check
---> Package glibc.i686 0:2.12-1.132.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.132.el6 for package: glibc-2.12-1.132.el6.i686
---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed
---> Package nss-softokn-freebl.i686 0:3.14.3-9.el6 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.12-1.132.el6.i686 (cdrom)
           Requires: glibc-common = 2.12-1.132.el6
           Installed: glibc-common-2.12-1.132.el6_5.2.x86_64 (@updates)
               glibc-common = 2.12-1.132.el6_5.2
           Available: glibc-common-2.12-1.132.el6.x86_64 (cdrom)
               glibc-common = 2.12-1.132.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

どんなアイデアがありますか?

ベストアンサー1

スキーマに矛盾がありますか?

Uname -iをCDのファイル名として

そこにはi686がたくさんあります。 x86_64を見たい、またはその逆かもしれません。依存嘔吐でこれを見ると、常にアーチの不一致です。

良い狩り。

おすすめ記事