Found 1 pre-existing rpmdb problem(s)
I tried to update my OS from WHM > Software > System Update as well as SSH.
I am getting pre-existing rpmdb problem(s) error.
Below is the output.
Requires: ea-apr-util(x86-64) = 1.5.2-13.13.8.cpanel
Installed: ea-apr-util-1.5.2-13.13.9.cpanel.x86_64 (@EA4)
ea-apr-util(x86-64) = 1.5.2-13.13.9.cpanel
Available: ea-apr-util-1.5.2-10.5.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-10.5
Available: ea-apr-util-1.5.2-10.6.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-10.6
Available: ea-apr-util-1.5.2-10.7.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-10.7
Available: ea-apr-util-1.5.2-10.8.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-10.8
Available: ea-apr-util-1.5.2-10.9.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-10.9
Available: ea-apr-util-1.5.2-11.11.1.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-11.11.1
Available: ea-apr-util-1.5.2-11.11.1.cpanel.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-11.11.1.cpanel
Available: ea-apr-util-1.5.2-11.11.2.cpanel.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-11.11.2.cpanel
Available: ea-apr-util-1.5.2-12.12.1.cpanel.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-12.12.1.cpanel
Available: ea-apr-util-1.5.2-13.13.1.cpanel.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-13.13.1.cpanel
Available: ea-apr-util-1.5.2-13.13.2.cpanel.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-13.13.2.cpanel
Available: ea-apr-util-1.5.2-13.13.4.cpanel.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-13.13.4.cpanel
Available: ea-apr-util-1.5.2-13.13.5.cpanel.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-13.13.5.cpanel
Available: ea-apr-util-1.5.2-13.13.6.cpanel.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-13.13.6.cpanel
Available: ea-apr-util-1.5.2-13.13.7.cpanel.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-13.13.7.cpanel
Available: ea-apr-util-1.5.2-13.13.8.cpanel.x86_64 (EA4)
ea-apr-util(x86-64) = 1.5.2-13.13.8.cpanel
You could try using --skip-broken to work around the problem
** 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')
yum exited 256
-
Try, mkdir /root/old_rpm_dbs/ mv /var/lib/rpm/__db* /root/old_rpm_dbs/ rpm --rebuilddb 0 -
Still same issue @HostingH 0 -
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 -
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 -
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 -
Fantastic. It is fixed @cPWilliamL 0 -
That's great to hear @Jafar Muhammed! I am marking this resolved now. 0
Please sign in to leave a comment.
Comments
7 comments