[root@astronaut lib]# rpm --initdb rpmdb: write: 0xbfffd670, 8192: Invalid argument error: db4 error(22) from dbenv->open: Invalid argument error: cannot open Packages index using db3 - Invalid argument (22) Same issue. Thanks for the help, TheFinn. ----- Original Message ----- From: "Rodrigo Barbosa" <rodrigob@xxxxxxxxxxxxxxx> To: <rpm-list@xxxxxxxxxx> Sent: Saturday, November 15, 2003 1:59 PM Subject: Re: Rebuilding the database from scratch ?? > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Remove your empty files and try "rpm --initdb". > > On Sat, Nov 15, 2003 at 01:01:49PM +1100, TheFinn wrote: > > How does one rebuild the database from scratch ? > > > > This is the error I'm getting and since have accidently rm'd the Packages > > file in /var/lib/rpm (It's not been a good week). > > > > [root@astronaut rpm]# rpm --rebuilddb > > rpmdb: unable to join the environment > > error: db4 error(11) from dbenv->open: Resource temporarily unavailable > > error: cannot open Packages index > > - -- > Rodrigo Barbosa <rodrigob@xxxxxxxxxxxxxxx> > "Quid quid Latine dictum sit, altum viditur" > "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQE/tZanpdyWzQ5b5ckRArDWAJ4y/o5hiEU5zJKAkZ7/aniP0XOMvACfc6bf > aeAohYs59xifHx6ec2sspQ4= > =SO2i > -----END PGP SIGNATURE----- > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list