The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

yum update and update via WHM fails with error

Discussion in 'General Discussion' started by smdeep, Nov 22, 2014.

  1. smdeep

    smdeep Member

    Joined:
    Jun 5, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    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.
     
  3. smdeep

    smdeep Member

    Joined:
    Jun 5, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

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

    yum remove bind-chroot mod_ssl

    ?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  5. smdeep

    smdeep Member

    Joined:
    Jun 5, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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!

    :)
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. smdeep

    smdeep Member

    Joined:
    Jun 5, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page