On Fri, 2003-01-10 at 11:39, Andre Kirchner wrote:
> Hi,
> 
> for some reason the rpm deature isn't working anymore
> at my RH 8.0. Where does the rpm stores the
> information about the installed packages? If it was
> corrupted, is there a way to fix it?


Hello, what exactly is wrong?  If when you try to do anything from a
query, install, upgrade, or remove and rpm just indefinitely stalls, I
can help. 

What you need to do is the following as root:


Allright, see the __db.00X files?  Thats two underscores. If you dont
see them, just move right on to an "rpm --rebuilddb" command

[schotty@leinenkugel schotty]$ cd /var/lib/rpm
[schotty@leinenkugel rpm]$ ls
Basenames     __db.003  Installtid   Provideversion  Sha1header
Conflictname  Dirnames  Name         Pubkeys         Sigmd5
__db.001      Filemd5s  Packages     Requirename     Triggername
__db.002      Group     Providename  Requireversion
[schotty@leinenkugel rpm]$ sudo rm __db*
[schotty@leinenkugel rpm]$ sudo rpm --rebuilddb

HTH



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to