-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 10 September 2003 08:49 am, Leonard den Ottolander wrote: > Hello Didier, > > Michael Fratoni wrote: > > If /var/log/rpmpkgs exists and is current (Save it quickly before it > > gets rotated by log rotate), and you have available the rpm packages > > (On CD, in /var/spoll/up2date, etc.) I have a script that can help. > > http://www.tuxfan.homeip.net:8080/hacks/recover_rpm_db.sh
> If you are too late to rescue /var/log/rpmpkgs the only solution I see > is to install redhat-rpmdb and issue rpm -qf --dbpath > /usr/lib/rpmdb/i386- redhat-linux/redhat <file> for a lot of files. Just to clarify what happens with /var/logs/rpmpkgs, logrotate isn't the big problem.... /var/logs/rpmpkgs gets overwritten daily by a cron job. If the cron job has run with no database, the file will probably be empty. However, you should have a copy that is a week out of date. /var/log/rpmpkgs.1 to the rescue, in that case. Not ideal, but better than nothing. - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/X663n/07WoAb/SsRAqB3AJ452KtGdD+iFawPg4vJTfTn+iQdSgCeNkz6 aAT0aR4CTXrfNRJIWtQCUa0= =q7+9 -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
