Re: (sweet recovery!) when rpm --rebuilddb doesn't work! what next?

2003-09-11 Thread Ed Wilts
On Thu, Sep 11, 2003 at 12:02:03AM -0400, Michael Fratoni wrote: I also find out that in SUSE Linux there's a time-stamped backups of the RPM database in /var/adm/backup/rpmdb and that you can just copy it to /var/lib/rpm, and everything gets back to normal! Anyway thanks a lot! Hrmm,

Re: (sweet recovery!) when rpm --rebuilddb doesn't work! what next?

2003-09-11 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 11 September 2003 07:38 am, Ed Wilts wrote: On Thu, Sep 11, 2003 at 12:02:03AM -0400, Michael Fratoni wrote: I also find out that in SUSE Linux there's a time-stamped backups of the RPM database in /var/adm/backup/rpmdb and that you

Re: when rpm --rebuilddb doesn't work! what next?

2003-09-10 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 09 September 2003 11:55 pm, Didier Casse wrote: One of my friends accidentally remove her /var/lib/rpm folder entirely when she found out that her rpm sucked at some point, instead of simply removing the /var/lib/rpm/__db* Now the

Re: when rpm --rebuilddb doesn't work! what next?

2003-09-10 Thread Leonard den Ottolander
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.

Re: when rpm --rebuilddb doesn't work! what next?

2003-09-10 Thread Michael Fratoni
-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

(sweet recovery!) when rpm --rebuilddb doesn't work! what next?

2003-09-10 Thread Didier Casse
On Wed, 10 Sep 2003, Michael Fratoni wrote: -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

Re: (sweet recovery!) when rpm --rebuilddb doesn't work! what next?

2003-09-10 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 10 September 2003 11:05 pm, Didier Casse wrote: Big thanks Michael! Your script is totally cool!!! I managed to rescue some /var/logs/rpmkgs.3 file! You're quite welcome, glad you found it useful. Then ran your script with the RH

when rpm --rebuilddb doesn't work! what next?

2003-09-09 Thread Didier Casse
One of my friends accidentally remove her /var/lib/rpm folder entirely when she found out that her rpm sucked at some point, instead of simply removing the /var/lib/rpm/__db* Now the problem is how to get back this database! rpm --initdb followed by rpm --rebuilddb doesn't seem to work since rpm