> -----Original Message----- > From: Ross Werner [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 11:01 > To: BYU Unix Users Group > Subject: Re: [uug] (Apt) RPM problem > > On Mon, 5 Apr 2004, Gary Thornock wrote: > >> A couple of days ago I tried to apt-get upgrade, and ever since, I get this error >> whenever I try to do anything with RPM or apt: >> >> rpmdb: unable to join the environment >> error: db4 error(11) from dbenv->open: Resource temporarily unavailable >> error: cannot open Packages index using db3 - Resource temporarily unavailable (11) >> error: cannot open Packages database in /var/lib/rpm >> E: could not open RPM database >> >> As a wild guess, I'd suppose that the RPM database is corrupt. Is there a good >> way to fix this? (rpm --rebuilddb didn't work.) > > Did you try: > rm -f /var/lib/rpm/__db* > > Those are the lock files for the rpm database--if an RPM-managing process > is killed, you usually have to get rid of these. See also this page: > > http://www.rpm.org/hintskinks/repairdb/
OK, that fixed it. Thanks! ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
