<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* 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><font size=2 color=black face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:black'>I was going to use yum
to update a software package on Fedora Core 5, and I was confronted with the
following error: <br>
<br>
Component: Software Manager<br>
Summary: TB9f78d0ec main.py:244:executedatabaseError: database disk image is
malformed<br>
<br>
Traceback (most recent call last):<br>
File &quot;/usr/sbin/pirut&quot;, line 363, in ?<br>
main()<br>
File &quot;/usr/sbin/pirut&quot;, line 359, in main<br>
pm.run()<br>
File &quot;/usr/sbin/pirut&quot;, line 286, in run<br>
self.doRefresh()<br>
File &quot;/usr/sbin/pirut&quot;, line 297, in doRefresh<br>
self.reposSetup(pbar)<br>
File &quot;/usr/lib/python2.4/site-packages/pirut/__init__.py&quot;, line 151,
in reposSetup<br>
self.doSackSetup()<br>
File &quot;/usr/lib/python2.4/site-packages/yum/__init__.py&quot;, line 294, in
doSackSetup<br>
self.pkgSack.excludeArchs(archlist)<br>
File &quot;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&quot;, line 496,
in excludeArchs<br>
cur.execute(querystring)<br>
File &quot;/usr/lib/python2.4/site-packages/sqlite/main.py&quot;, line 244, in
execute<br>
self.rs = self.con.db.execute(SQL)<br>
DatabaseError: database disk image is malformed<br>
<br>
Local variables in innermost frame:<br>
self: &lt;sqlite.main.Cursor instance at 0xb6d8ae8c&gt;<br>
parms: ()<br>
SQL: select * from packages WHERE arch != &quot;i686&quot; AND arch !=
&quot;i586&quot; AND arch != &quot;i486&quot; AND arch != &quot;i386&quot; AND
arch != &quot;noarch&quot;<br>
<br>
What is the cause of this, and how do I fix it? Thanks.<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>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>