<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>I’m
having trouble importing this key, running up2date, and rebuilding rpm
database:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Has
someone seen this before?<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>[root@aaews2872jamesk][15:26:26][~]$
up2date<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Your
GPG keyring does not contain the Red Hat, Inc. public key.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Without
it, you will be unable to verify that packages Update Agent downloads<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>are
securely signed by Red Hat.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Your
Update Agent options specify that you want to use GPG.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>To
install the key, run the following as root:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>    
rpm --import /usr/share/rhn/RPM-GPG-KEY<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>[root@aaews2872jamesk][15:26:28][~]$
rpm --import /usr/share/rhn/RPM-GPG-KEY<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>rpmdb:
PANIC: fatal region error detected; run recovery<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>error:
db4 error(-30978) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database
recovery<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>error:
cannot open Packages index using db3 -  (-30978)<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>error:
cannot open Packages database in /var/lib/rpm<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>error:
/usr/share/rhn/RPM-GPG-KEY: import failed.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>[root@aaews2872jamesk][15:26:47][~]$
rpm --rebuilddb<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>rpmdb:
PANIC: fatal region error detected; run recovery<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>error:
db4 error(-30978) from dbenv->open: DB_RUNRECOVERY: Fatal error, run
database recovery<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>error:
cannot open Packages index<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>thanks<o:p></o:p></span></font></p>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>Hubert Cross<o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>CAD Assistant<br>
Advanced Analogic Technologies, Inc.</span></font><o:p></o:p></p>

<p class=MsoNormal><st1:address w:st="on"><st1:Street w:st="on"><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>3230 Scott Blvd.</span></font></st1:Street><font
 size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <st1:City
 w:st="on">Santa Clara</st1:City>, <st1:State w:st="on">CA</st1:State>  <st1:PostalCode
 w:st="on">95054</st1:PostalCode></span></font></st1:address><br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Email
[hcross@analogictech.com]<br>
Phone [(408)330-1417]</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>