Carlos E. R. skrev:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Monday 2008-01-28 at 12:23 +0100, Anders Norrbring wrote:
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.
*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?
The best you can do, as far as I know, is to copy and unzip the latest "correct" version in the backup (probably the biggest), on top of the existing "/var/lib/rpm/Packages" file. Even if it is old, it will be better than having nothing.
Then run --rebuild, and later YOU, so that it installs again the updates you are missing in the database list.
There is no way I know of to regenerate the database by looking at the installed files all over the distro. I think it should be possible, by comparing files with the list of files in the ARCHIVE list in the dvd, but I do not know if anybody has created such an application.
That means I'm smoked.. Oh well.. I guess I'll find some weird way out eventually.. Hehe Thanks! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org