Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: vichithrakumart on March 22, 2018, 08:23:49 am

Title: Unable to update cPanel. Error: Your RPM database appears unstable.
Post by: vichithrakumart on March 22, 2018, 08:23:49 am
Check for any hanging YUM and RPM processes via:

Code: [Select]
ps aux|grep rpm
ps aux|grep yum

Kill any of these processes that are no longer active, and then rebuild the RPM database via:

Code: [Select]
mkdir /root/old_rpm_dbs/
mv /var/lib/rpm/__db* /root/old_rpm_dbs/
rpm --rebuilddb

Then, run "yum update" to see if it completes successfully.

Run:
Code: [Select]
/scripts/upcp