banner
老孙

老孙博客

资深网民孙先生
mastodon
email

yum prompt Error: rpmdb open failed error handling

When the installation of Docker fails in the Baota panel, the following method can be used to rebuild the rpm.

Directory where rpmdb is located#

cd /var/lib/rpm

Clear the original rpmdb files#

rm -f __db.*

Rebuild the rpm database#

rpm --rebuilddb

Clear all yum caches#

yum clean all
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.