What Command is used to Rebuild RPM Database

RPM Package Manager(RPM) originally stands for RedHat Package Manager. It is the most popular package management utility. An RPM package can contain some set of important files. The name RPM refers to the .rpm file formats, software package in such files and the packet manager program itself.

The following command is used to rebuild :

rpm -rebuilddb

The above command rebuilds the RPM databases based on the file /var/lib/rpm/Packages. The mentioned “Packages” files are important and required in order to rebuild your RPM database without any interrupt. Before executing this command make sure that your server is working in good condition with normal above speed because this command may take some time to complete the process if your server is slow.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *