Re: Creating Rpm database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 04 May 2005 15:22:09 +0100, Mark Farmer wrote:

> 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?

No. /var/lib/rpm/Packages is the main database.
Don't expect --rebuilddb to _create_ a database out of nothing.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux