Как разрешить пакеты зависимостей при установке httpd-devel apr-devel apr-util-devel yum на centos 5.6 - PullRequest
2 голосов
/ 22 февраля 2012

Я пытаюсь установить httpd-devel apr-devel apr-util-devel centos 5.6.У меня проблема с зависимостью

 Resolving Dependencies
 --> Running transaction check
---> Package apr-devel.i386 0:1.2.7-11.el5_6.5 set to be updated
 --> Processing Dependency: apr = 1.2.7-11.el5_6.5 for package: apr-devel
--> Processing Dependency: libapr-1.so.0 for package: apr-devel
 ---> Package apr-devel.x86_64 0:1.2.7-11.el5_6.5 set to be updated
 ---> Package apr-util-devel.i386 0:1.2.7-11.el5_5.2 set to be updated
  --> Processing Dependency: apr-util = 1.2.7-11.el5_5.2 for package: apr-util-devel
  --> Processing Dependency: openldap-devel for package: apr-util-devel
   --> Processing Dependency: libaprutil-1.so.0 for package: apr-util-devel
  --> Processing Dependency: db4-devel for package: apr-util-devel
  --> Processing Dependency: expat-devel for package: apr-util-devel
  ---> Package apr-util-devel.x86_64 0:1.2.7-11.el5_5.2 set to be updated
   ---> Package httpd-devel.i386 0:2.2.3-53.el5.centos.3 set to be updated
  --> Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
  ---> Package httpd-devel.x86_64 0:2.2.3-53.el5.centos.3 set to be updated
   --> Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
  --> Running transaction check
  ---> Package apr.i386 0:1.2.7-11.el5_6.5 set to be updated
  ---> Package apr-util.i386 0:1.2.7-11.el5_5.2 set to be updated
  --> Processing Dependency: libsqlite3.so.0 for package: apr-util
  --> Processing Dependency: libldap-2.3.so.0 for package: apr-util
  --> Processing Dependency: libdb-4.3.so for package: apr-util
  --> Processing Dependency: libexpat.so.0 for package: apr-util
   --> Processing Dependency: libpq.so.4 for package: apr-util
  --> Processing Dependency: liblber-2.3.so.0 for package: apr-util
  ---> Package db4-devel.x86_64 0:4.3.29-10.el5_5.2 set to be updated
  ---> Package expat-devel.x86_64 0:1.95.8-8.3.el5_5.3 set to be updated
  ---> Package httpd-devel.i386 0:2.2.3-53.el5.centos.3 set to be updated
  --> Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
  ---> Package httpd-devel.x86_64 0:2.2.3-53.el5.centos.3 set to be updated
  --> Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
  ---> Package openldap-devel.x86_64 0:2.3.43-12.el5_7.10 set to be updated
   --> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel
   --> Running transaction check
  ---> Package cyrus-sasl-devel.x86_64 0:2.1.22-5.el5_4.3 set to be updated
  ---> Package db4.i386 0:4.3.29-10.el5_5.2 set to be updated
  ---> Package expat.i386 0:1.95.8-8.3.el5_5.3 set to be updated
  ---> Package httpd-devel.i386 0:2.2.3-53.el5.centos.3 set to be updated
  --> Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
 ---> Package httpd-devel.x86_64 0:2.2.3-53.el5.centos.3 set to be updated
 --> Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
  ---> Package openldap.i386 0:2.3.43-12.el5_7.10 set to be updated
--> Processing Dependency: libsasl2.so.2 for package: openldap
 ---> Package postgresql-libs.i386 0:8.1.23-1.el5_7.3 set to be updated
  ---> Package sqlite.i386 0:3.7.0.1-1.el5.art set to be updated
 ---> Package sqlite.x86_64 0:3.7.0.1-1.el5.art set to be updated
  --> Running transaction check
 ---> Package cyrus-sasl-lib.i386 0:2.1.22-5.el5_4.3 set to be updated
 ---> Package httpd-devel.i386 0:2.2.3-53.el5.centos.3 set to be updated
 --> Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
---> Package httpd-devel.x86_64 0:2.2.3-53.el5.centos.3 set to be updated
 --> Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
  --> Finished Dependency Resolution
 httpd-devel-2.2.3-53.el5.centos.3.i386 from updates has depsolving problems
   --> Missing Dependency: httpd = 2.2.3-53.el5.centos.3 is needed by package httpd-      devel-2.2.3-53.el5.centos.3.i386 (updates)
 httpd-devel-2.2.3-53.el5.centos.3.x86_64 from updates has depsolving problems
  --> Missing Dependency: httpd = 2.2.3-53.el5.centos.3 is needed by package httpd-devel-      2.2.3-53.el5.centos.3.x86_64 (updates)
  Error: Missing Dependency: httpd = 2.2.3-53.el5.centos.3 is needed by package httpd-  devel-2.2.3-53.el5.centos.3.i386 (updates)
  Error: Missing Dependency: httpd = 2.2.3-53.el5.centos.3 is needed by package httpd-  devel-2.2.3-53.el5.centos.3.x86_64 (updates)
  You could try using --skip-broken to work around the problem
   You could try running: package-cleanup --problems
                    package-cleanup --dupes
                    rpm -Va --nofiles --nodigest
   The program package-cleanup is found in the yum-utils package.

Можете ли вы помочь мне решить эту проблему?Мне нужно установить эти пакеты yum на машину Centos 5.6.

версия httpd - httpd-2.2.21-1.w5

версия apche:

версия сервера: Apache / 2.2.21 (Unix) Сервер построен: 14 ноября 201118: 03: 07

Ответы [ 2 ]

3 голосов
/ 30 августа 2012

Вы даже не перечислили свою исходную команду, поэтому мы не можем быть уверены, как вы пытаетесь ее установить.

Исходя из вывода, я предполагаю, что у вас есть старый httpd / httpdпакет, удерживающий васКроме того, у вас установлены версии i386 и x86_64.

Начните с удаления httpd-devel с помощью

yum remove httpd-devel.i386 http-devel.x86_64

, затем повторите попытку с

yum -y install httpd-devel apr-devel
0 голосов
/ 18 июля 2012

Вы также можете попробовать: yum update --skip-broken .Он может не исправить поврежденные пакеты, но, по крайней мере, может установить другие обновления.

...