Carlos E. R. skrev:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



The Monday 2008-01-28 at 08:44 +0100, Anders Norrbring wrote:

I have a problem..
One of my machines (10.2) lost its installed rpm database.. So, when I do a 'rpm -qa' it shows only 2 packages..

How can I rebuild it accurately?

You should have backups in "/var/adm/backup/rpmdb", the "Packages" file gzipped by date. But hurry, it is a daily backup holding only a week, so after a week the backup will only have your corrupted copy.

- -- Cheers,
       Carlos E. R.

*sigh*
There are a bunch of gzipped files there, but I guess none of them would be really accurate. Would there be a way to "refresh" a very old copy, like unpack the biggest one and somehow verify it against the actual packages installed?

Anders.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to