Skip to main content

WHM update not work. Problem "database is locked" if launch "yum update"

Comments

3 comments

  • dalem
    Try yum clean all yum update
    0
  • Michael-Inet
    database is locked
    This is for the edge case where you've just built the server and the hosting firm has an auto 'yum update' launch in their ISOs. In this case then you'll get the database is locked until it finishes updating and then you're good. Pretty rare, but really frustrating... Best, Michael
    0
  • SamuelM
    Hello @andinacom Did you have any luck after executing the yum clean all
    command? The error is difficult to interpret because it does specify which repository failed. Does the command work if you enable only the base repo? yum --disablerepo=* --enablerepo=base update
    Best regards
    0

Please sign in to leave a comment.