-----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.
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHncLctTMYHG2NR9URAsMAAJwM2z00XNhb+N1SCFWRZH5VFOloMQCfV/42
e7qVA6Kdp+NbSZjXqUogScg=
=IM2V
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]