Try adding the '-vv' flag to the rpm --rebuilddb command. 
The output is more verbose, and that could give you some
useful info if all else fails

Jason

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of M A Young
Sent: 06 December 2003 07:27 PM
To: [EMAIL PROTECTED]
Subject: Re: rpm database corrupt


On Fri, 5 Dec 2003, Ross Macintyre wrote:

> Hi,
>   I have a machine that has a corrup RPM database.
> I tried the usual
>   rm var/lib/rpm/__db.00*, then
>   rpm --rebuilddb
> which has worked in the past.
> This time nothing.

If rpm is getting stuck, rather than crashing, that often means some other
process has the database locked. Look for such processes, or even reboot
before removing the __db files. See also
http://www.rpm.org/hintskinks/repairdb/
for further rebuilding hints if necessary.

        Michael Young


-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list


-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list

Reply via email to