Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3B69AFC1.C06887FC@windriver.com> Date: Thu, 02 Aug 2001 12:53:37 -0700 From: Doru Carastan Organization: Wind River, Inc. X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Cygwin Subject: Re: [Fwd: -qa / -qi problem] References: <20010802152211 DOT F393 AT dothill DOT com> Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit Jason Tishler wrote: > > Doru, > > In the future, please post to cygwin AT cygwin DOT com instead of sending > private email so others can benefit too. I apologize for that. I considered it to be a better candidate for rpm-list AT redhat DOT com. Their answer is posted here: http://groups.yahoo.com/group/rpm-list/message/14656 > On Wed, Aug 01, 2001 at 04:02:03PM -0700, Doru Carastan wrote: > > I just sent this message to the RPM list. Is your RPM port working fine? > > Mine has some problems. It is happening on both Linux and Cygwin > > platforms for versions > 4.0-4. > > Sorry, but I have only used my Cygwin rpm port in a very casual way. > Actually, I have only "viewed" RPMs with it -- I never installed any > packages with it. > > Anyway, the following is the output for the same command sequence in your > email to the RPM list: > > $ rpm --version > RPM version 4.0.2 > $ rpm -qa > $ rpm -qa > $ rpm -q less > error: cannot open Name index using db3 - No such file or directory (2) > package less is not installed > $ rpm -q -i less > error: cannot open Name index using db3 - No such file or directory (2) > package less is not installed > $ rpm -q --info less > error: cannot open Name index using db3 - No such file or directory (2) > package less is not installed > > Hence, my port seems to handle -qa and -qi or not having anything > installed is masking problems. I'm not so sure about that. You need to make sure you have created the directory for _dbpath as it is listed by rpm --showrc. Then run rpm --initdb to create an empty database. While being here it is a good idea to check if _tmppath exists, otherwise any build command will fail too. Could you please try this and run the command sequence again? Thanks, Doru C. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/