Re: Local rpm database corruption

"G.Pitman" <[email protected]> Wed, 21 Feb 2007 15:28:43 -0500
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <[email protected]>
Is this RHEL3?
If so:
# cd /var/lib/rpm
# rm __00*
# rpm --rebuilddb

atleast thats been a fix for me


On 2/21/07, Jerry Roy <jerry.roy-SrL5qGCgbQJGMJYXDe/[email protected]> wrote:
>
>  All...I'm failing rhn update because of a corruption in the local
> /var/lib/rpm database as evidence by the following example...
>
> root]# rpm -q telnet
> rpmdb: Program version 4.2 doesn't match environment version
> error: db4 error(22) from dbenv->open: Invalid argument
> error: cannot open Packages index using db3 - Invalid argument (22)
> error: cannot open Packages database in /var/lib/rpm
> package telnet is not installed
>
> Iwill someone please give me an idea how to correct and recover from this
> error?
>
> Thanks in Advance
> Jerry
>
> --
> Taroon-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/taroon-list
>



-- 
"There's plenty of room for all God's creatures... Right next to the mashed
potatoes."

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list