From owner-freebsd-questions@FreeBSD.ORG Wed Mar 3 22:55:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1ED416A4E8 for ; Wed, 3 Mar 2004 22:55:10 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 001BC43D39 for ; Wed, 3 Mar 2004 22:55:09 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 1916 invoked from network); 4 Mar 2004 06:54:54 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 4 Mar 2004 06:54:53 -0000 Received: from it.buh.cameradicommercio.ro (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with SMTP id F195713F; Thu, 4 Mar 2004 08:56:53 +0200 (EET) Date: Thu, 4 Mar 2004 08:56:53 +0200 From: Ion-Mihai Tetcu To: Tsu-Fan Cheng Message-Id: <20040304085653.392326eb@it.buh.cameradicommercio.ro> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.9claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: pkgdb problem! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 06:55:11 -0000 On Wed, 3 Mar 2004 22:39:37 -0500 (EST) Tsu-Fan Cheng wrote: > Hi BSDers, I run pkgdb -F and get this: > > ---> Checking the package registry database > [Updating the pkgdb in /var/db/pkg ... - 433 packages > found (-21 +58) (...)Cannot allocate memory: Cannot update the pkgdb!] > > never has happened to me before, what's wrong? > From: Ion-Mihai Tetcu > To: jwb@homer.att.com > Cc: ports@FreeBSD.org > Subject: Re: FreeBSD Port: portupgrade-20040208 > Date: Tue, 2 Mar 2004 16:16:31 +0200 > > On Tue, 02 Mar 2004 08:51:59 -0500 > "J. W. Ballantine" wrote: > > > After upgrading portupgrade and ruby, I started getting the following error: > [..] > > .rb:467:in `select': failed to allocate memory (NoMemoryError) > [..] > > Happened here too. > > First try to remove your /var/db/pkg/pkgdb.db (backup first). Do a pkg_db -F. > > If it ain't working or you still got the problem, make deinstall for portupgrade and all ruby*. > make install ruby18, portupgrade, do a pkgdb -F, install the rest of removed ruby* -- IOnut Unregistered ;) FreeBSD user