# mkdir /var/lib/rpm/backup# cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/# rm -f /var/lib/rpm/__db.[0-9][0-9]*# rpm --quiet -qa# rpm --rebuilddb# yum clean all
本文共 213 字,大约阅读时间需要 1 分钟。
# mkdir /var/lib/rpm/backup# cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/# rm -f /var/lib/rpm/__db.[0-9][0-9]*# rpm --quiet -qa# rpm --rebuilddb# yum clean all
转载于:https://www.cnblogs.com/ccielife/p/11340186.html