Re: I killed RPM.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 08 Jan 2004 17:09:42 +0900
Naoki <naoki@xxxxxxxxxxxxxxxxx> 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.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux