<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 01/23/2010 12:06 AM, Matt Domsch wrote:
<blockquote cite="mid:20100123050622.GA30565@auslistsprd01.us.dell.com"
type="cite">
<pre wrap="">On Fri, Jan 22, 2010 at 09:35:49PM -0500, Jim wrote:
</pre>
<blockquote type="cite">
<pre wrap="">FC12-x86_64/KDE
#yum install
Error: Database disk image is malformed
I removed /var/lib/rpm/__db.** files
And then I did a ;
#rpm --rebuilddb *
But that still doesn't help when running yum.
What am I not doing right?
</pre>
</blockquote>
<pre wrap="">
I ran into this once recently, when I hit Ctrl-C at an inopportune
moment while yum was running on that window. Like you, thought it was
the RPM database that was corrupt, and like you did the same thing to
no effect.
# yum clean all
had no effect either.
To resolve, I deleted all the contents of /var/lib/yum/. It's kind of
heavyweight, but it resolved it. You may try simply deleting
/var/lib/yum/history/* first, and see if that's sufficient (assuming
you don't need to be able to have yum roll back completed transactions
to some previous state). If not, try deleting yumdb/ there.
There may be a better way to handle this, but I'll let the yum experts
chime in then.
Thanks,
Matt
</pre>
</blockquote>
<br>
<pre wrap=""><i class="moz-txt-slash"><span class="moz-txt-tag">Remove contents from /</span>var/lib/yum/history<span
class="moz-txt-tag">/</span></i>* did the trick. THANKS MUCH MATT</pre>
</body>
</html>