[Gllug] Recovering a RH6.2 system with a corrupt RPM database
John Winters
john at linuxemporium.co.uk
Wed Dec 4 10:27:42 UTC 2002
On Wed, 2002-12-04 at 09:43, John Hearns wrote:
> On 4 Dec 2002, John Winters wrote:
>
> > One of my customers has a RH 6.2 system on which the RPM database has
> > become corrupted. Each time any reference to the ppp package is
> > made using the rpm tool, the tool crashes with a segmentation fault.
> >
> The man page suggests rpm --initdb
Neither the man page nor "Maximum RPM" is entirely clear on what
--initdb and --rebuilddb are meant to do. My reading is that --initdb
creates a new, empty database and --rebuilddb tries to re-build the
existing one. I'm not sure what is meant by re-build - the only thing I
can think of is that it's meant to be like an e2fsck for rpm databases.
Presumably if one builds a new one with --initdb there is no way of then
populating it to match an existing installation.
John
--
The Linux Emporium - the source for Linux in the UK
See http://www.linuxemporium.co.uk/
We had a woodhenge here once but it rotted.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list