RE: rpm database corrupt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: psyche-list-admin@xxxxxxxxxx
[mailto:psyche-list-admin@xxxxxxxxxx]On Behalf Of M A Young
Sent: 06 December 2003 07:27 PM
To: psyche-list@xxxxxxxxxx
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
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list


-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux