  | | | Subject: Local rpm database corruption | Subject: Local rpm database corruption 2007-02-21 - By G.Pitman
Back 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@(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 > Taroon-list@(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."
Is this RHEL3?<br>If so:<br># cd /var/lib/rpm<br># rm __00*<br># rpm - -rebuilddb<br><br>atleast thats been a fix for me<br><br><br><div><span class= "gmail_quote">On 2/21/07, <b class="gmail_sendername">Jerry Roy</b> <<a href= "mailto:jerry.roy@(protected)"> jerry.roy@(protected)</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div> <font face="Verdana, Helvetica, Arial"><span style="font-size: 12px;">All...I'm failing rhn update because of a corruption in the local /var/lib/rpm database as evidence by the following example...<br> <br> root]# rpm -q telnet<br> rpmdb: Program version 4.2 doesn't match environment version<br> error: db4 error(22) from dbenv->open: Invalid argument<br> error: cannot open Packages index using db3 - Invalid argument (22)<br> error: cannot open Packages database in /var/lib/rpm<br> package telnet is not installed<br> <br> Iwill someone please give me an idea how to correct and recover from this error ?<br> <br> Thanks in Advance<br> Jerry</span></font> </div>
<br>--<br>Taroon-list mailing list<br><a onclick="return top.js.OpenExtLink (window,event,this)" href="mailto:Taroon-list@(protected)">Taroon-list@(protected) </a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https:/ /www.redhat.com/mailman/listinfo/taroon-list" target="_blank"> https://www.redhat.com/mailman/listinfo/taroon-list</a><br></blockquote></div> <br><br clear="all"><br>-- <br> "There's plenty of room for all God' ;s creatures... Right next to the mashed potatoes."
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |