If rpm / yum command hangs during operations or you see error messages – it means your rpm database corrupted. /var/lib/rpm/ stores rpm database just delete the same and rebuild rpm database:

Command to rebuild rpm database

rm -f /var/lib/rpm/__db*
rpm --rebuilddb -v -v

Facebook Comments

More Stuff

Let’s Talk AutoSSL- The Updates! One of the more popular topics talked about amongst the cPanel Community is AutoSSL, a tool that automatically installs domain-validated SSL cert...
Brace Yourselves, NGINX is Coming Arguably, one of the most requested and popular feature requests submitted for cPanel & WHM has been the addition of the NGINX web serve...
How do I check if a port is in use on Linux? I am a new Linux system user. I need to find out which process is listening on a port on Linux using the command line. How do you find out which pro...
Force HTTPS Redirection We’ve talked about SSL (secure socket layer) certificates both on the cPanel blog and at the 2018 cPanel Conference in Houston, Tx as well as many oth...
Spread the love

Posted by News Monkey