Creating Rpm database

Mark Farmer farmerma at cromwell.co.uk
Wed May 4 14:22:09 UTC 2005


Michael Schwendt wrote:
>>You could try rpm --rebuilddb
>>That should build a new database
> 
> 
> No, it won't do that in this case. The manual page contains a hint why it
> won't work.
> 

Good point :-)

Extract from the rpm man page:

use --rebuilddb to rebuild the database indices from the installed package headers.

The headers are obviously in /var/lib/rpm - I guess the file 'Sha1header' is the one 
in question?

-- 
Mark Farmer
Linux System Administrator

___________________________________________________ 
  
This email is intended for the named recipient. The information contained 
in it is confidential.  You should not copy it for any purposes, nor 
disclose its contents to any other party.  If you received this email 
in error, please notify the sender immediately via email, and delete it from
your computer. 
  
Any views or opinions presented are solely those of the author and do not 
necessarily represent those of the company. 
  
Registered Office: PO Box 14, Chartwell Dr, Wigston, Leicester. LE18 1AT 
__________________________________________________




More information about the redhat-list mailing list