yum clean error

Error Rpmdb Open Failed On running yum clean

Error rpmdb open failed, Sometimes when you start a system try to run the command yum clean all And you found that another process is running. In that case, you just have to kill the PID of the yum Process. you can repair the corrupted rpm database using package and correct yum the rpm error and rebuild the rpmdb.

Check Out: What’s New In Redhat 8 Beta Version

we can also verify the integrity of rpm packages using the below commands. This will check the packages which are actual packages provided by the Redhat Enterprises.

cd /var/lib/rpm

/usr/lib/rpm/rpmdb_verify Packages

Finding Yum Process ID

ps -ef | grep yum

Then kill the process

kill -9 processid

Check Out: Create Apache Docker Image Using Dockerfile In Linux

There is another issue you will find when you run that command is rpm open failed.

Error Rpmdb Open Failed

Check Out: Useful Commands Of Firewall

if you get this error in this case you just have to rebuild the rpm database, run the below command.

rpmdb –rebuilddb

rebuild rpm database

After that run the yum clean all command you will not get this error.

rpm repair package

You’re done rrpm repair package rpm database is corrupted yum rpm error so

Leave a Reply

Notify of