httpd-develには、CentOS 6.3で古いバージョンのglibc-commonが必要です。

httpd-develには、CentOS 6.3で古いバージョンのglibc-commonが必要です。

httpd-develには、CentOS 6.3 x86_64およびApache/2.2.15で古いバージョンのglibc-commonが必要です。 2.12-1.80.el6が必要です。 2.12-1.80.el6_3.3.x86_64をインストールしました(CentOS @update repo経由)。

「yum install httpd-devel.x86_64」を実行したときに発生するエラーです。

エラー:パッケージ:glibc-2.12-1.80.el6.i686(デフォルト):

   Requires: glibc-common = 2.12-1.80.el6
   Installed: glibc-common-2.12-1.80.el6_3.3.x86_64 (@updates)
       glibc-common = 2.12-1.80.el6_3.3
   Available: glibc-common-2.12-1.80.el6.x86_64 (base)
       glibc-common = 2.12-1.80.el6

「yum install httpd-devel.x86_64 --skip-broken」を使用すると、次のようになります。

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

> apr-1.3.9-3.el6_1.2.i686 from base apr-devel-1.3.9-3.el6_1.2.x86_64
> from base apr-util-devel-1.3.9-3.el6_0.1.x86_64 from base
> cyrus-sasl-devel-2.1.23-13.el6.x86_64 from base
> db4-cxx-4.7.25-17.el6.x86_64 from base db4-devel-4.7.25-17.el6.x86_64
> from base glibc-2.12-1.80.el6.i686 from base
> 1:httpd-devel-2.2.15-15.el6.vm.1.x86_64 from virtualmin
> libuuid-2.17.2-12.7.el6.i686 from base
> nss-softokn-freebl-3.12.9-11.el6.i686 from base
> openldap-devel-2.4.23-26.el6.x86_64 from base

結論、httpd-develをインストールできません。

これが優先順位の問題になる可能性がありますか?

priority = 1 [asl-3.0]
priority = 1 [base]
priority = 1 [virtualmin]
priority = 1 [virtualmin-universal]
priority = 50 [epel]

repo id | repo name | status
C6.0-base |  CentOS-6.0 - Base | disabled
C6.0-centosplus | CentOS-6.0 - CentOSPlus | disabled
C6.0-contrib | CentOS-6.0 - Contrib |  disabled
C6.0-extras |  CentOS-6.0 - Extras |  disabled
C6.0-updates | CentOS-6.0 - Updates |  disabled
C6.1-base |  CentOS-6.1 - Base | disabled
C6.1-centosplus | CentOS-6.1 - CentOSPlus | disabled
C6.1-contrib | CentOS-6.1 - Contrib |  disabled
C6.1-extras |  CentOS-6.1 - Extras |  disabled
C6.1-updates | CentOS-6.1 - Updates |  disabled
C6.2-base |  CentOS-6.2 - Base | disabled
C6.2-centosplus | CentOS-6.2 - CentOSPlus | disabled
C6.2-contrib | CentOS-6.2 - Contrib |  disabled
C6.2-extras |  CentOS-6.2 - Extras |  disabled
C6.2-updates | CentOS-6.2 - Updates |  disabled
asl-3.0 | Atomicorp - - Atomic Secured Linux 3.0 | enabled: | 623
asl-3.0-testing | Atomicorp - - Atomic Secured Linux 3.0 (TESTING) | disabled
base | CentOS-6 - Base | enabled: | 6,346
c6-media |  CentOS-6 - Media | disabled
centosplus |  CentOS-6 - Plus | disabled
contrib | CentOS-6 - Contrib | disabled
debug | CentOS-6 - Debuginfo |  disabled
epel | Extra Packages for Enterprise Linux 6 - x86_64 |  enabled: 7,627+125
epel-debuginfo | Extra Packages for Enterprise Linux 6 - x86_64 - Debug |  disabled
epel-source |  Extra Packages for Enterprise Linux 6 - x86_64 - Source | disabled
epel-testing | Extra Packages for Enterprise Linux 6 - Testing - x86_64 | disabled
epel-testing-debuginfo | Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Debug | disabled
epel-testing-source |  Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Source | disabled
extras | CentOS-6 - Extras | enabled: |  4
updates | CentOS-6 - Updates | enabled: | 0+523
virtualmin |  RHEL/CentOS/Scientific 6 - x86_64 - Virtualmin |  enabled: | 73
virtualmin-universal | Virtualmin Distribution Neutral Packages | enabled: | 187+1

Apache は以下で提供されます。

rpm -qi httpd
Name        : httpd                        Relocations: (not relocatable)
Version     : 2.2.15                            Vendor: (none)
Release     : 15.el6.vm.1                   Build Date: Thu 17 May 2012 03:35:08 AM UTC
Install Date: Thu 28 Jun 2012 05:13:47 AM UTC      Build Host: srv1.cloud.virtualmin.com
Group       : System Environment/Daemons    Source RPM: httpd-2.2.15-15.el6.vm.1.src.rpm
Size        : 3067984                          License: ASL 2.0
Signature   : DSA/SHA1, Thu 17 May 2012 03:09:42 PM UTC, Key ID e8dd3fa0a0bdbcf9
URL         : http://httpd.apache.org/
Summary     : Apache HTTP Server

ベストアンサー1

優先順位を無効にすると、「yum install httpd-devel」が機能する可能性があります。

PS:今私の優先順位は

priority = 10 [asl-3.0]
priority = 10 [asl-3.0-testing]
priority = 20 [virtualmin]
priority = 20 [virtualmin-universal]
priority = 30 [base]
priority = 30 [updates]
priority = 40 [extras]
priority = 50 [epel]

大丈夫に見えますか?

おすすめ記事