Primary server components update faild several times

I try to update my components postfix, bind and proftpd and get this error (from start).

Please info how to fix it!

Now updating postfix ..

Installing package(s) with command yum -y install postfix ..

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.arnes.si
 * extras: ftp.arnes.si
 * updates: ftp.arnes.si
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package postfix.i686 2:2.6.6-2.2.el6_1 will be updated
---> Package postfix.i386 2:2.9.4-1.el5 will be an update
--> Processing Dependency: libmysqlclient.so.15 for package: 2:postfix-2.9.4-1.el5.i386
--> Processing Dependency: libldap-2.3.so.0 for package: 2:postfix-2.9.4-1.el5.i386
--> Processing Dependency: libdb-4.3.so for package: 2:postfix-2.9.4-1.el5.i386
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: 2:postfix-2.9.4-1.el5.i386
--> Processing Dependency: libssl.so.6 for package: 2:postfix-2.9.4-1.el5.i386
--> Processing Dependency: libcrypto.so.6 for package: 2:postfix-2.9.4-1.el5.i386
--> Processing Dependency: libpq.so.4 for package: 2:postfix-2.9.4-1.el5.i386
--> Processing Dependency: liblber-2.3.so.0 for package: 2:postfix-2.9.4-1.el5.i386
--> Running transaction check
---> Package compat-db43.i686 0:4.3.29-15.el6 will be installed
---> Package compat-openldap.i686 1:2.3.43-2.el6 will be installed
---> Package openssl098e.i686 0:0.9.8e-17.el6.centos.2 will be installed
---> Package postfix.i386 2:2.9.4-1.el5 will be an update
--> Processing Dependency: libmysqlclient.so.15 for package: 2:postfix-2.9.4-1.el5.i386
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: 2:postfix-2.9.4-1.el5.i386
--> Processing Dependency: libpq.so.4 for package: 2:postfix-2.9.4-1.el5.i386
--> Finished Dependency Resolution
Error: Package: 2:postfix-2.9.4-1.el5.i386 (CentALT)
           Requires: libmysqlclient.so.15
Error: Package: 2:postfix-2.9.4-1.el5.i386 (CentALT)
           Requires: libmysqlclient.so.15(libmysqlclient_15)
Error: Package: 2:postfix-2.9.4-1.el5.i386 (CentALT)
           Requires: libpq.so.4
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

.. install failed!

Now updating bind ..

Installing package(s) with command yum -y install bind ..

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.arnes.si
 * extras: ftp.arnes.si
 * updates: ftp.arnes.si
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bind.i686 32:9.8.2-0.10.rc1.el6_3.2 will be updated
---> Package bind.i386 36:9.9.1-3.P2.el5 will be an update
--> Processing Dependency: libisccfg.so.90 for package: 36:bind-9.9.1-3.P2.el5.i386
--> Processing Dependency: libisc.so.90 for package: 36:bind-9.9.1-3.P2.el5.i386
--> Processing Dependency: libcrypto.so.6 for package: 36:bind-9.9.1-3.P2.el5.i386
--> Processing Dependency: libisccc.so.90 for package: 36:bind-9.9.1-3.P2.el5.i386
--> Processing Dependency: libcap.so.1 for package: 36:bind-9.9.1-3.P2.el5.i386
--> Processing Dependency: liblwres.so.90 for package: 36:bind-9.9.1-3.P2.el5.i386
--> Processing Dependency: libbind9.so.90 for package: 36:bind-9.9.1-3.P2.el5.i386
--> Processing Dependency: libdns.so.93 for package: 36:bind-9.9.1-3.P2.el5.i386
--> Running transaction check
---> Package bind-libs.i686 32:9.8.2-0.10.rc1.el6_3.2 will be updated
--> Processing Dependency: libbind9.so.80 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686
--> Processing Dependency: libdns.so.81 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686
--> Processing Dependency: libisc.so.83 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686
--> Processing Dependency: libisccc.so.80 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686
--> Processing Dependency: libisccfg.so.82 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686
--> Processing Dependency: liblwres.so.80 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686
--> Processing Dependency: bind-libs = 32:9.8.2-0.10.rc1.el6_3.2 for package: 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686
---> Package bind-libs.i386 36:9.9.1-3.P2.el5 will be an update
---> Package compat-libcap1.i686 0:1.10-1 will be installed
---> Package openssl098e.i686 0:0.9.8e-17.el6.centos.2 will be installed
--> Running transaction check
---> Package bind-utils.i686 32:9.8.2-0.10.rc1.el6_3.2 will be updated
---> Package bind-utils.i386 36:9.9.1-3.P2.el5 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch      Version                       Repository    Size
================================================================================
Updating:
 bind                i386      36:9.9.1-3.P2.el5             CentALT      2.5 M
Installing for dependencies:
 compat-libcap1      i686      1.10-1                        base          17 k
 openssl098e         i686      0.9.8e-17.el6.centos.2        base         773 k
Updating for dependencies:
 bind-libs           i386      36:9.9.1-3.P2.el5             CentALT      1.0 M
 bind-utils          i386      36:9.9.1-3.P2.el5             CentALT      249 k

Transaction Summary
================================================================================
Install       2 Package(s)
Upgrade       3 Package(s)

Total size: 4.5 M
Total download size: 3.7 M
Downloading Packages:
http://centos.alt.ru/repository/centos/6/i386/bind-9.9.1-3.P2.el5.i386.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://centos.alt.ru/repository/centos/6/i386/bind-libs-9.9.1-3.P2.el5.i386.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://centos.alt.ru/repository/centos/6/i386/bind-utils-9.9.1-3.P2.el5.i386.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.


Error Downloading Packages:
  36:bind-libs-9.9.1-3.P2.el5.i386: failure: bind-libs-9.9.1-3.P2.el5.i386.rpm from CentALT: [Errno 256] No more mirrors to try.
  36:bind-9.9.1-3.P2.el5.i386: failure: bind-9.9.1-3.P2.el5.i386.rpm from CentALT: [Errno 256] No more mirrors to try.
  36:bind-utils-9.9.1-3.P2.el5.i386: failure: bind-utils-9.9.1-3.P2.el5.i386.rpm from CentALT: [Errno 256] No more mirrors to try.

.. install failed!

Now updating proftpd ..

Installing package(s) with command yum -y install proftpd ..

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.arnes.si
 * extras: ftp.arnes.si
 * updates: ftp.arnes.si
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package proftpd.i686 0:1.3.3e-1.el6 will be updated
---> Package proftpd.i386 0:1.3.4b-1.el5 will be an update
--> Processing Dependency: libssl.so.6 for package: proftpd-1.3.4b-1.el5.i386
--> Processing Dependency: libcrypto.so.6 for package: proftpd-1.3.4b-1.el5.i386
--> Processing Dependency: perl(Mail::Sendmail) for package: proftpd-1.3.4b-1.el5.i386
--> Processing Dependency: libcap.so.1 for package: proftpd-1.3.4b-1.el5.i386
--> Running transaction check
---> Package compat-libcap1.i686 0:1.10-1 will be installed
---> Package openssl098e.i686 0:0.9.8e-17.el6.centos.2 will be installed
---> Package proftpd.i386 0:1.3.4b-1.el5 will be an update
--> Processing Dependency: perl(Mail::Sendmail) for package: proftpd-1.3.4b-1.el5.i386
--> Finished Dependency Resolution
Error: Package: proftpd-1.3.4b-1.el5.i386 (CentALT)
           Requires: perl(Mail::Sendmail)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

.. install failed!

No packages were installed. Check the messages above for the cause of the error.

Status: 
Closed (fixed)

Comments

Joe's picture
Submitted by Joe on Thu, 09/06/2012 - 03:53 Pro Licensee

These packages are from a third party repository that we have no control over and no knowledge about (CentALT, which I've never heard of until now).

It looks like some of the packages have dependencies not provided by the repo; a quick googling hints that maybe you also need EPEL to be enabled.

I would, however, strongly recommend against using a repo like this that makes sweeping changes to your system, unless you know why you need it, and understand the implications, and now how to safely use third party repositories. What were you trying to accomplish when enabling this third party repository? Do you need some specific package provided by it? If so, you can use the include and exclude features or yum, to only get the packages you need, and not pull in all this other stuff that looks like it's going to make pretty dramatic changes to you system. Packages from third party repos tend to receive dramatically less testing and security auditing than those that appear in the standard OS repo, so you should be really careful about enabling them.

I'm closing this ticket, as we can't fix any of these package dependencies (they aren't in our repository). I'd recommend you not change to third party provided packages, unless you know why you need them, and then only use the specific packages you need. Otherwise, stick to CentOS standard packages.