I killed RPM.
Vincent
pros-n-cons at bak.rr.com
Thu Jan 8 09:48:23 UTC 2004
On Thu, 08 Jan 2004 17:09:42 +0900
Naoki <naoki at valuecommerce.com> wrote:
> 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 :
>
> stat64("/var/lib/rpm/__db.001", {st_mode=S_IFREG|0644, st_size=0, ...})
> = 0
> open("/var/lib/rpm/__db.001", O_RDWR|O_DIRECT|O_LARGEFILE) = 3
>
> I think this because it works with LD_ASSUME ( as show in original email
> ).
>
> I'm thinking I need to upgrade some library to allow this call to
> succeed but I don't know what.
>
> On Thu, 2004-01-08 at 16:52, Mads Villadsen wrote:
>
> > 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:
> >
> > http://www.rpm.org/hintskinks/repairdb/
> >
>
try this first:
rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb
The other guy posted a URL to that command but you appeared to have dismissed it as being the problem. Humor us and give it a shot.
More information about the fedora-list
mailing list