<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
The problem is not with RPM or corruption I think but more that the kernel is opening (trying to anyway) the DB file with O_DIRECT :<BR>
<BR>
stat64("/var/lib/rpm/__db.001", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0<BR>
open("/var/lib/rpm/__db.001", O_RDWR|O_DIRECT|O_LARGEFILE) = 3<BR>
<BR>
I think this because it works with LD_ASSUME ( as show in original email ).<BR>
<BR>
I'm thinking I need to upgrade some library to allow this call to succeed but I don't know what.<BR>
<BR>
On Thu, 2004-01-08 at 16:52, Mads Villadsen wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>On Thu, 2004-01-08 at 08:19, Naoki wrote:
> During a manual upgrade from RH9 -> FC1 ( rpm -Uvh by hand ) I've
> managed to kill me rpm in the process.  Don't know how because I've
> done this before but I did reboot half way through in order for the
> new 2140 kernel.  

Try looking at this page:
</FONT>
<A HREF="http://www.rpm.org/hintskinks/repairdb/"><U>http://www.rpm.org/hintskinks/repairdb/</U></A>
<FONT COLOR="#737373"></I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>