On Fri, 2004-01-30 at 23:58, Derek Chen-Becker wrote: > OK, this is weird. My /var/lib/rpm/Packages file on my server is 900k > and if I do an rpm -qa I only get 32 entries. It's 28Mb on my other RH9 > box. Am I toast? It's likely that the RPM database on your server is toast, yes (hopefully not you!). Your options are to reinstall or (likely more work but with less interruption to the services) trying to re-create the thing. The latter would be re-installing all packages that were installed on the machine (preferrably after moving away /var/lib/rpm && "rpm --initdb" to be sure the RPM db isn't hosed still), the crux is to find out which packages were installed. A few methods to achieve this are: - Look in /usr/share/doc, most packages have a doc directory which is named after the package name and version - Afterwards look in /etc, /sbin, /bin, /usr/bin, /usr/sbin, ... after files that are not owned by a package; look which packages own these on your other machine Good luck, Nils -- Nils Philippsen / Red Hat / nphilipp@xxxxxxxxxx "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- B. Franklin, 1759 PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011
Attachment:
signature.asc
Description: This is a digitally signed message part