Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 08:15:49 +0800
From:      Huang wen hui <huanghwh@yahoo.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   portupgrade problem
Message-ID:  <3C9531B4.2050405@yahoo.com>

next in thread | raw e-mail | index | archive | help
hi,
I have a problem of using portupgrade.
 # portupgrade -a
[Updating the pkgdb <format:bdb1_btree> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C9531B4.2050405>