On Tuesday 29 January 2008 12:10:18 am Anders Norrbring wrote:
Carlos E. R. skrev:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Monday 2008-01-28 at 13:15 +0100, Anders Norrbring wrote:
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
Why? Are all the backups in "/var/adm/backup/rpmdb" bad? Even if they are old, they will be better than what you have.
The best they could do was some 10-12 packages.. And that won't so much good.
Have tired to access /var/cache/zypp/zypp.db . Make a copy in your home directory and look in. It is SQLite database. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org