-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2008-07-16 at 17:47 +0200, Michael Schroeder wrote:
There's only one critical Database, it's "Packages". All other databases are just indices and get regenerated by 'rpm --rebuildb'.
If Packages is corrupt (like in your case), you're in big trouble. The only way to recover is to use db_dump/db_load to salvage all undamaged parts of the old database. Then do 'rpm --rebuilddb'.
There is another way: in "/var/adm/backup/rpmdb" you have daily bakcups of that database made by cron (run-crons: suse.de-backup-rpmdb). By default it keeps 5 copies, you can increase the number somewhere in /etc/sysconfig. Once you get a good copy, you only need to worry about what you did the last days(s). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIfil3tTMYHG2NR9URAnmtAJ0WthvQueQKXpxAqK2xoJqxMFpMLQCeJzCe 8W6ak3WGARnAW26MmYuNoNU= =PPl5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org