Skip to main content

Found 1 pre-existing rpmdb problem(s)

Comments

7 comments

  • HostingH
    Try, mkdir /root/old_rpm_dbs/ mv /var/lib/rpm/__db* /root/old_rpm_dbs/ rpm --rebuilddb
    0
  • Jafar Muhammed
    Still same issue @HostingH
    0
  • cPWilliamL
    This is not an error that would indicate a corrupt RPM database; however, I wanted to mention that cPanel does provide a script(/scripts/find_and_fix_rpm_issues) to essentially do the same as what @HostingH recommended, but a bit safer.
    ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: ea-apr-util-devel-1.5.2-13.13.7.cpanel.x86_64 has missing requires of ea-apr-util(x86-64) = ('0', '1.5.2', '13.13.7.cpanel')
    It seems that `ea-apr-util' and `ea-apr-util-devel' versions are out of sync. Could you provide the output of `rpm -qa|grep ea-apr-util'? I have the following on my test box:
    # rpm -qa|grep ea-apr-util ea-apr-util-1.5.2-13.13.8.cpanel.x86_64 ea-apr-util-devel-1.5.2-13.13.8.cpanel.x86_64
    0
  • Jafar Muhammed
    I got this @cPWilliamL
    ea-apr-util-1.5.2-13.13.9.cpanel.x86_64 ea-apr-util-devel-1.5.2-13.13.7.cpanel.x86_64
    0
  • cPWilliamL
    Please try removing them and reinstalling it as below:
    # rpm -e --justdb --nodeps ea-apr-util-devel-1.5.2-13.13.7.cpanel.x86_64 ea-apr-util-1.5.2-13.13.9.cpanel.x86_64 # yum install ea-apr-util-devel ea-apr-util
    Then try your update once more.
    0
  • Jafar Muhammed
    Fantastic. It is fixed @cPWilliamL
    0
  • cPWilliamL
    That's great to hear @Jafar Muhammed! I am marking this resolved now.
    0

Please sign in to leave a comment.