From owner-freebsd-questions Thu Nov 14 17:29:18 2002 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 4A4B337B401 for ; Thu, 14 Nov 2002 17:29:17 -0800 (PST) Received: from claire.namodn.com (namodn.com [209.0.100.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07D5D43E77 for ; Thu, 14 Nov 2002 17:29:17 -0800 (PST) (envelope-from nkj@namodn.com) Received: from nkj by claire.namodn.com with local (Exim 3.12 #1 (Debian)) id 18CVcC-0003fL-00; Thu, 14 Nov 2002 17:49:48 -0800 Date: Thu, 14 Nov 2002 17:49:48 -0800 From: Nick Jennings To: freebsd-questions@freebsd.org Subject: port utils not working (ruby memory error) Message-ID: <20021114174948.C13282@namodn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All, I've been having trouble with the ports over the past few days. I had done a port update with cvsup. Then a portupgrade -a. Since then metacity has been dropping core every hour or so it seems, and generally acting wierd. I did another port update today with cvsup, and then 'portupgrade -Rrf metacity'. This didn't seem to fix much, however it seems now that my portupgrade port (that which provides portupgrade, portversion, port* etc.) does not work anymore. su-2.05b# portversion -v [Updating the pkgdb in /var/db/pkg ... - 260 packages found (-2 +3) (...)[Updating the pkgdb in /var/db/pkg ... - 260 packages found (-2 +3) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:224:in `origin': Cannot allocate memory: Cannot update the pkgdb!] (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in `origin' from /usr/local/sbin/portversion:301:in `check_pkgs' from /usr/local/sbin/portversion:300:in `each' from /usr/local/sbin/portversion:300:in `check_pkgs' from /usr/local/sbin/portversion:260:in `main' from /usr/local/sbin/portversion:77:in `initialize' from /usr/local/sbin/portversion:77:in `new' from /usr/local/sbin/portversion:77:in `main' from /usr/local/sbin/portversion:347 su-2.05b# Same stuff happens when I use any of the portupgrade applications. I have tried going into ports/lang/ruby and doing a 'make deinstall && make clean && make install' same with ports/sysutils/portupgrade but nothing worked. Any ideas how I can get my system back to normal? I have serious misgivings about every trying to update/upgrade my ports & installed packages again :( How am I to know when things are broken or stable? - Nick Jennings To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message