Ok, I'm not a very good listener :-)
I backed up my /var/lib/rpm and tried rpm --rebuilddb despite
the warning.
So far, I think it worked. I haven't noticed any problems yet.
Steve
A V Flinsch writes:
>
> >
> > Somehow my rpm has been corrupted. Every time I install a package I
> > get this message:
> >
> > error getting record libc.so.6(GLIBC_2.0) from
> > //var/lib/rpm/requiredby.rpm
> >
>
> I get the same message on a Mandrake 7.2 box. The rpm seems to install
> correctly however . Well not entirely correctly, when doing an upgrade
> (rpm -U) the old version of the package is left there.
>
> I tried doing the following
> 1 - backup /var/lib/rpm
> 2 - rpm --rebuilddb
>
> That actually made the problem WORSE -- DO NOT DO IT, after doing a
> rebuilddb most of the rpm database was gone, and left me with only about
> 1/3 of the packages that should have been present. Needless to say I
> restored my backup and have been living with it.
>
>
>
> > How do I fix this?
>
>
> Wish I knew.
> What seems to be needed is a dump of the rpm database and then some
> method to restore it. Does anyone out there know how to do this?
>
>
>
>
> --
> Alex
> (Go easy on me, I'm a COBOL programmer in real life)