Try
rpm --rebuilddb
It will take a while.
Package managers and manual file management don't mix very well...
but you already know that.
------------------------------------------------------------------------
Jim Wildman, CISSP jim@rossberry.com
http://www.rossberry.com
On Mon, 28 Oct 2002, Mikes work account wrote:
> Thanks Jim,
>
> That was appreciated, but it did not solve my problem. I cannot edit those
> files because they are Berkley DB(Hash, version 7, native byte-order). At
> sometime I deleted manually some kernel version files not knowing that
> rpm -e would clean up everything, and then I reinstalled a kernel rpm. what
> I got was two entries in the rpm database. Now I cannot remove the entries.
> and before I can upgrade the kernel I need to do that(because of dependency
> issues), or I will just have to install over what I have after I repartition
> the hard drive.
>
>
> Michael C. Rock
> Systems Analyst
> Registered Linux User # 287973
>
> "The time has come the Walrus said to speak of many things,,,"
> "Christians give up what they cannot keep,,to gain what they cannot lose"
>
> -----Original Message-----
> From: slug@lists.nks.net [mailto:slug@lists.nks.net]On Behalf Of Jim
> Wildman
> Sent: Monday, October 28, 2002 3:11 PM
> To: slug@nks.net
> Subject: Re: [SLUG] once again, please
>
>
> It's in /var/lib/rpm
>
> rpm -ql <package>
>
> will show you the files associated with a package. So I did
> rpm -ql rpm | more
>
> ------------------------------------------------------------------------
> Jim Wildman, CISSP jim@rossberry.com
> http://www.rossberry.com
>
> On Mon, 28 Oct 2002, Mikes work account wrote:
>
> >
> > I have tried to search for the rpm database without success and I need to
> > know where rpm -qa draws its information from.
> >
> > Michael C. Rock
> > Systems Analyst
> > Registered Linux User # 287973
> >
> > "The time has come the Walrus said to speak of many things,,,"
> > "Christians give up what they cannot keep,,to gain what they cannot lose"
> >
>
>
>
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:58:50 EDT