From owner-freebsd-questions Sun Mar 17 16:15:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by hub.freebsd.org (Postfix) with SMTP id 6A6E237B400 for ; Sun, 17 Mar 2002 16:15:57 -0800 (PST) Received: from huanghwh (AUTH plain) at unknown (HELO yahoo.com) (huanghwh@210.21.6.34) by smtp.mail.vip.sc5.yahoo.com with SMTP; 18 Mar 2002 00:15:57 -0000 Message-ID: <3C9531B4.2050405@yahoo.com> Date: Mon, 18 Mar 2002 08:15:49 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.9) Gecko/20020317 X-Accept-Language: zh-cn, en-us MIME-Version: 1.0 To: freebsd-questions Subject: portupgrade problem Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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, I have a problem of using portupgrade. # portupgrade -a [Updating the pkgdb in /var/db/pkg ... - 113 packages found (-1 +1) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:374:in `each': negative allocation size (or too big) (NoMemoryError) from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:374:in `select' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:374:in `update_db' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:532:in `open_db' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:681:in `installed_pkgs' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:599:in `installed_pkg?' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:197:in `pkg' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:706:in `glob' from /usr/local/sbin/portupgrade:458:in `main' ... 8 levels... from /usr/local/sbin/portupgrade:186:in `initialize' from /usr/local/sbin/portupgrade:186:in `new' from /usr/local/sbin/portupgrade:186:in `main' from /usr/local/sbin/portupgrade:1609 how to fix it ? --hwh _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message