yum update and update via WHM fails with error

smdeep

Member
Jun 5, 2005
6
0
151
Hi,

I am posting this after extensive searching of the forums for similar issue but was unable to get any information.

WHM version: WHM 11.46.0 (build 17)

Server version: 6.4.

The server was not getting any updates as the mirror list had the vendors own repo. I contacted them and they said it would safe to revert to the default CentOS 6.4 mirrors.

This is the current mirrorlist entry for [base]:

mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os

When I run yum update or try to update via WHM I get this error.

Code:
--> Finished Dependency Resolution
Error: Package: 32:bind-chroot-9.8.2-0.17.rc1.el6_4.6.x86_64 (@updates)
           Requires: bind = 32:9.8.2-0.17.rc1.el6_4.6
           Removing: 32:bind-9.8.2-0.17.rc1.el6_4.6.x86_64 (@updates)
               bind = 32:9.8.2-0.17.rc1.el6_4.6
           Updated By: 32:bind-9.8.2-0.30.rc1.el6.x86_64 (base)
               bind = 32:9.8.2-0.30.rc1.el6
 You could try using --skip-broken to work around the problem
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
1:mod_auth_mysql-3.0.0-11.el6_0.1.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
1:mod_ssl-2.2.15-29.el6.centos.x86_64 has missing requires of httpd
1:mod_ssl-2.2.15-29.el6.centos.x86_64 has missing requires of httpd = ('0', '2.2.15', '29.el6.centos')
1:mod_ssl-2.2.15-29.el6.centos.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
checkyum version 21.1
I checked the exclude line and it has all the default entries:
Code:
exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
Thanks in advance.
 

24x7ss

Well-Known Member
Sep 30, 2014
272
17
68
India
cPanel Access Level
Root Administrator
Twitter
Hello :)

I would suggest you to remove bind-chroot, mod_ssl* and try running the upcp again. Or if you do not wish to install these RPMs, you can try the command manually with --skip-broken and run upcp again.
 

smdeep

Member
Jun 5, 2005
6
0
151
Hi,

Thanks for your reply. Just to confirm, by removing bind-chroot and mod_ssl you mean:

yum remove bind-chroot mod_ssl

?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello :)

Those are not standard packages included in the minimal installation of CentOS. I suggest removing the RPMs. EX:

Code:
rpm -e --nodeps --justdb mod_ssl-2.2.15-29.el6.centos.x86_64
Note that when removing bind-chroot, you may need to rebuild the DNS configuration via:

Code:
/scripts/rebuilddnsconfig
Thank you.
 

smdeep

Member
Jun 5, 2005
6
0
151
Hello,

Thanks so much for the commands. I deleted both bind-chroot and mod_ssl. After that the update went smootly and the server is now 6.6.

You guys rock!

:)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
 

smdeep

Member
Jun 5, 2005
6
0
151
Hi,

You are most welcome! Thanks again. Is there any way I can edit the subject to add Solved?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hi,

You are most welcome! Thanks again. Is there any way I can edit the subject to add Solved?
There's no need to modify the subject. Additional users can post here if they are experiencing a similar issue and have additional questions.

Thank you.