On Wed May 30, 2001 at 11:25:43AM -0700, John Johnson wrote:

> rpm --rebuilddb

He said he tried that...

Sounds to me like his index is hosed beyond repair.

I would fill out a Red Hat bugzilla report and let them know what
happened... sounds like their upgrade is no good.  =(

You could try reverting to an older version of rpm and/or db3 and see
if that helps, but it might already be mucked.

> > Ever since I upgraded RPM to rpm-4.0.3-0.6.6x.i386.rpm and the
> > database to db3-3.1.17-4.6x.i386 , I've been experiencing problems.
> > I think my RPM database has been screwed up. is there a solution
> > for this other than re-installing my entire system ?
> > 
> > Here's the problem:
> > 
> > ( root@Virgin )-( Thu May 31 01:49:39am )-( /usr/src/rpm )
> > # rpm -i rpm-4.0.2-5x.i386.rpm
> > error: cannot open Packages database in /var/lib/rpm
> > 
> > And when I try to issue a rebuilddb...
> > 
> > ( root@Virgin )-( Thu May 31 01:50:10am )-( /usr/src/rpm )
> > # rpm --rebuilddb
> > error: cannot open Packages index
> > 
> > As you can see I'm issuing these commands as root...I'm on Linux
> > version 2.2.17 on a RedHat 6.2
> > 
> > I would appreciate some help here. Thanks guys.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD
 - Danen Consulting Services    www.danen.net, www.freezer-burn.org
 - MandrakeSoft, Inc. Security  www.linux-mandrake.com

Current Linux kernel 2.4.3-20mdk uptime: 1 day 21 hours 6 minutes.

PGP signature

Reply via email to