Files
Controls-docs/admin-guide/legacy/misc/repairrpmdb.rst
T
2021-05-05 14:24:27 +02:00

22 lines
370 B
ReStructuredText

Repair the RPM DB
=================
Introduction
------------
Sometimes the rpm database gets broken and any command of manipulating
or questioning RPMS might fail.
So, it can be necessary to remove the corrupted RPM database and to
reinitialize it.
Procedure
---------
Run::
# cd /var/lib/rpm
# rm -f __db.*
# rpmdb --initdb
# rpmdb --rebuilddb