2 Aug
2004
2 Aug
'04
01:28
Philip, On Sunday 01 August 2004 18:13, Philip Washington wrote:
How do you clear and rebuild the rpm database on Suse 9.1? I have been unable to install some rpm's and someone indicated that the rpm database may be corrupt.
The online documentation is your friend. According to "man rpm", what you want is "rpm --initdb" or "rpm --rebuilddb", probably "--rebuilddb": Excerpting from the output of "man rpm": REBUILD DATABASE OPTIONS The general form of an rpm rebuild database command is rpm {--initdb|--rebuilddb} [-v] [--dbpath DIRECTORY] [--root DIRECTORY] Use --initdb to create a new database, use --rebuilddb to rebuild the database indices from the installed package headers. Randall Schulz