title: How to resolve dependency packages when installing httpd-devel apr-devel apr-util-devel yum on centos 5.6
body: <p>I am trying to install httpd-devel apr-devel apr-util-devel centos 5.6. i got dependency problem</p>
  
  <pre><code> Resolving Dependencies
   --&gt; Running transaction check
  ---&gt; Package apr-devel.i386 0:1.2.7-11.el5_6.5 set to be updated
   --&gt; Processing Dependency: apr = 1.2.7-11.el5_6.5 for package: apr-devel
  --&gt; Processing Dependency: libapr-1.so.0 for package: apr-devel
   ---&gt; Package apr-devel.x86_64 0:1.2.7-11.el5_6.5 set to be updated
   ---&gt; Package apr-util-devel.i386 0:1.2.7-11.el5_5.2 set to be updated
    --&gt; Processing Dependency: apr-util = 1.2.7-11.el5_5.2 for package: apr-util-devel
    --&gt; Processing Dependency: openldap-devel for package: apr-util-devel
     --&gt; Processing Dependency: libaprutil-1.so.0 for package: apr-util-devel
    --&gt; Processing Dependency: db4-devel for package: apr-util-devel
    --&gt; Processing Dependency: expat-devel for package: apr-util-devel
    ---&gt; Package apr-util-devel.x86_64 0:1.2.7-11.el5_5.2 set to be updated
     ---&gt; Package httpd-devel.i386 0:2.2.3-53.el5.centos.3 set to be updated
    --&gt; Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
    ---&gt; Package httpd-devel.x86_64 0:2.2.3-53.el5.centos.3 set to be updated
     --&gt; Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
    --&gt; Running transaction check
    ---&gt; Package apr.i386 0:1.2.7-11.el5_6.5 set to be updated
    ---&gt; Package apr-util.i386 0:1.2.7-11.el5_5.2 set to be updated
    --&gt; Processing Dependency: libsqlite3.so.0 for package: apr-util
    --&gt; Processing Dependency: libldap-2.3.so.0 for package: apr-util
    --&gt; Processing Dependency: libdb-4.3.so for package: apr-util
    --&gt; Processing Dependency: libexpat.so.0 for package: apr-util
     --&gt; Processing Dependency: libpq.so.4 for package: apr-util
    --&gt; Processing Dependency: liblber-2.3.so.0 for package: apr-util
    ---&gt; Package db4-devel.x86_64 0:4.3.29-10.el5_5.2 set to be updated
    ---&gt; Package expat-devel.x86_64 0:1.95.8-8.3.el5_5.3 set to be updated
    ---&gt; Package httpd-devel.i386 0:2.2.3-53.el5.centos.3 set to be updated
    --&gt; Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
    ---&gt; Package httpd-devel.x86_64 0:2.2.3-53.el5.centos.3 set to be updated
    --&gt; Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
    ---&gt; Package openldap-devel.x86_64 0:2.3.43-12.el5_7.10 set to be updated
     --&gt; Processing Dependency: cyrus-sasl-devel &gt;= 2.1 for package: openldap-devel
     --&gt; Running transaction check
    ---&gt; Package cyrus-sasl-devel.x86_64 0:2.1.22-5.el5_4.3 set to be updated
    ---&gt; Package db4.i386 0:4.3.29-10.el5_5.2 set to be updated
    ---&gt; Package expat.i386 0:1.95.8-8.3.el5_5.3 set to be updated
    ---&gt; Package httpd-devel.i386 0:2.2.3-53.el5.centos.3 set to be updated
    --&gt; Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
   ---&gt; Package httpd-devel.x86_64 0:2.2.3-53.el5.centos.3 set to be updated
   --&gt; Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
    ---&gt; Package openldap.i386 0:2.3.43-12.el5_7.10 set to be updated
  --&gt; Processing Dependency: libsasl2.so.2 for package: openldap
   ---&gt; Package postgresql-libs.i386 0:8.1.23-1.el5_7.3 set to be updated
    ---&gt; Package sqlite.i386 0:3.7.0.1-1.el5.art set to be updated
   ---&gt; Package sqlite.x86_64 0:3.7.0.1-1.el5.art set to be updated
    --&gt; Running transaction check
   ---&gt; Package cyrus-sasl-lib.i386 0:2.1.22-5.el5_4.3 set to be updated
   ---&gt; Package httpd-devel.i386 0:2.2.3-53.el5.centos.3 set to be updated
   --&gt; Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
  ---&gt; Package httpd-devel.x86_64 0:2.2.3-53.el5.centos.3 set to be updated
   --&gt; Processing Dependency: httpd = 2.2.3-53.el5.centos.3 for package: httpd-devel
    --&gt; Finished Dependency Resolution
   httpd-devel-2.2.3-53.el5.centos.3.i386 from updates has depsolving problems
     --&gt; 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
    --&gt; 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.
  </code></pre>
  
  <p>can you anybody guide me how to resolve this issue?. I need to install this yum packages on the centos 5.6 machine. </p>
  
  <p>httpd version is httpd-2.2.21-1.w5</p>
  
  <p>apche version is </p>
  
  <p>Server version: Apache/2.2.21 (Unix)
  Server built:   Nov 14 2011 18:03:07</p>