Yum update error

VanGog

Verified User
Joined
Feb 16, 2007
Messages
9
I need help
Centos 6 x32

yum update

Code:
Total size: 72 M
Total download size: 2.7 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
updates/prestodelta                                                                                                                                                                                                  | 265 kB     00:00
Processing delta metadata
Download delta size: 797 k
(1/3): libpng-1.2.46-2.el6_2_1.2.49-1.el6_2.i686.drpm                                                                                                                                                                |  33 kB     00:00
(2/3): openssl-1.0.0-4.el6_1.0.0-20.el6_2.4.i686.drpm                                                                                                                                                                | 427 kB     00:00
(3/3): openssl-devel-1.0.0-4.el6_1.0.0-20.el6_2.4.i686.drpm                                                                                                                                                          | 336 kB     00:00
Finishing rebuild of rpms, from deltarpms
<delta rebuild>                                                                                                                                                                                                      | 2.7 MB     00:04
Presto reduced the update size by 72% (from 2.7 M to 797 k).
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
zlib-devel is needed by openssl-devel-1.0.0-20.el6_2.4.i686
keyutils-libs-devel is needed by krb5-devel-1.9-22.el6_2.1.i686
libselinux-devel is needed by krb5-devel-1.9-22.el6_2.1.i686
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
krb5-devel-1.8.2-3.el6.i686 has missing requires of keyutils-libs-devel
krb5-devel-1.8.2-3.el6.i686 has missing requires of libselinux-devel
openssl-devel-1.0.0-4.el6.i686 has missing requires of zlib-devel
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2012-04-26-18-01gHZnQ6.yumtx
 
yum check

Code:
Loaded plugins: fastestmirror, presto
MySQL-client-5.5.14-1.linux2.6.i386 is obsoleted by MySQL-client-5.5.14-1.linux2.6.i386
MySQL-server-5.5.14-1.linux2.6.i386 is obsoleted by MySQL-server-5.5.14-1.linux2.6.i386
krb5-devel-1.8.2-3.el6.i686 has missing requires of keyutils-libs-devel
krb5-devel-1.8.2-3.el6.i686 has missing requires of libselinux-devel
openssl-devel-1.0.0-4.el6.i686 has missing requires of zlib-devel
Error: check all
 
@SeLLeRoNe:

Recent versions of DirectAdmin for CentOS do install MySQL through RPMs; I'm not sure if they're activated by yum or not; I haven't checked.

@VanGog:

Have you added those dependencies?

@DirectAdmin Support:

Should we still be excluding MySQL from updates in /etc/yum.conf?

Jeff
 
zlib-devel is needed by openssl-devel-1.0.0-20.el6_2.4.i686
keyutils-libs-devel is needed by krb5-devel-1.9-22.el6_2.1.i686
libselinux-devel is needed by krb5-devel-1.9-22.el6_2.1.i686
Try adding the missing dependancies, eg:
Code:
yum install zlib-devel keyutils-libs-devel libselinux-devel
As for the mysql errors, they seem rather odd.. perhaps there are 2 instances installed at the same time. Check:
Code:
rpm -qa | grep MySQL
John
 
Code:
yum install zlib-devel keyutils-libs-devel libselinux-devel
complete
Code:
rpm -qa | grep MySQL
MySQL-client-5.5.14-1.linux2.6.i386
MySQL-shared-5.5.14-1.linux2.6.i386
MySQL-server-5.5.14-1.linux2.6.i386
MySQL-devel-5.5.14-1.linux2.6.i386
 
Hello,

I am having a very similar issue and can't find a solution for this.

yum check:

Code:
Loaded plugins: fastestmirror
MySQL-client-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-client-5.5.28-1.linux2.6.x86_64
MySQL-devel-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-devel-5.5.28-1.linux2.6.x86_64
MySQL-server-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-server-5.5.28-1.linux2.6.x86_64
MySQL-shared-5.5.28-1.linux2.6.x86_64 is obsoleted by MySQL-shared-5.5.28-1.linux2.6.x86_64
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
Error: check all

grep exclude /etc/yum.conf
Code:
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* bind-chroot*

rpm -qa | grep MySQL
Code:
MySQL-devel-5.5.28-1.linux2.6.x86_64
MySQL-server-5.5.28-1.linux2.6.x86_64
MySQL-client-5.5.28-1.linux2.6.x86_64
MySQL-shared-5.5.28-1.linux2.6.x86_64
 
DirectAdmin doesn't use sendmail. In fact, it deletes it if it finds it on the server. Why are you trying to update it?

Jeff
 
It's in the exclude list. I tried removing it via yum, rpm -e, chmod and chown it to 0000 & root but no use. This happened after updating exim to 4.80 from 4.7x. service sendmail is not found but it's located in /usr/sbin/sendmail.

Any solution?
 
Because its probably a symbolic link to the exim installed sendmail.
 
Leave the sendmail symbolic link alone, lots of websites won't be able to send mail if you remove it. If that's the only occurrence of sendmail on your system then it's not the problem.

What do you get when you run:
Code:
 rpm -e sendmail-cf
Does it remove anything or return an error?

Afterwards do you still get the yum update error?

Jeff
 
Back
Top