On Sun, 10 Nov 2002, Michael Fratoni wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sunday 10 November 2002 12:14 am, Brian K. Jones wrote: > > On Saturday 09 November 2002 6:17 pm, Joe Klemmer wrote: > > > On Sat, 2002-11-09 at 13:11, Patrick wrote: > > > > > I have problem with rebuilding database. I had a problem with > > > > > installation of a rpm and i killed a process. Since rpm database > > > > > became unusable i tried to rebuld rpm database (rpm -rebulddb). > > > > > But process doesn't do anything. It made a directory > > > > > /var/lib/rpmrebuilddb.25695 which is empty, and process doesn't > > > > > look like it works anything. Any idea ? > > > > > > > > In /var/lib/rpm delete __db.00{1,2,3} and try again. > > > > > > I definitely nominate this for the FAQ. > > > > I think something like this belongs in the FAQ, but these kinds of > > answers piss me off, because they fail to explain *why* you need to do > > this. If this can be explained, I'd love to add it in with the > > explanation. > > More detailed answers can be found here. > http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=73097 > > Basic answer: > If the rpm process hangs, (and in the version included with Psyche, it > does seem to hang often), killing the process can corrupt the database, > as well as leaving behind stale lock files. > rm -f /var/lib/rpm/__db* removes the lock files, rpm --rebuilddb should > fix up the database. > > Addional data point: > The test packages here seem to solve the haning problem: > ftp://people.redhat.com/jbj/test-4.1/ Also FWIW, This was asked about at the "Red Hat Road Tour" last week and part of the answer is that there is an errata in the pipeline to address part of this. It just needs to get through QA. I suspect that the above URL contains whatever they are looking to release. HTH, -- .............Tom "Nothing would please me more than being able to tdiehl@rogueind.com hire ten programmers and deluge the hobby market with good software." -- Bill Gates 1976 We are still waiting .... -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list