portupgrade errors during ruby execution
Duane Whitty
duane at greenmeadow.ca
Tue May 2 18:17:57 UTC 2006
Hi,
I think I damaged my package database during a
pkgdb -Fu session. When I try to use portupgrade
with r or R switches I get an error message from
ruby.
To work my way through this I have freshly cvs'd
my entire ports tree and rebuilt the indexes.
Followed /usr/ports/UPDATING for gnome stuff
(except I don't have xscreensaver-gnome installed)
ran portupgrade -a
most recent failure:
[Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 591 packages
found (-0 +1) . done]
/usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:61:in `push': failed to
allocate memory (NoMemoryError)
from /usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:61:in `shellwords'
from /usr/local/sbin/portupgrade:1186:in `get_pkgname'
from /usr/local/sbin/portupgrade:1171:in `check_pkgname'
from /usr/local/sbin/portupgrade:957:in `upgrade_pkg'
from /usr/local/sbin/portupgrade:780:in `do_upgrade'
from /usr/local/sbin/portupgrade:702:in `main'
from /usr/local/sbin/portupgrade:699:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize'
from /usr/local/sbin/portupgrade:209:in `main'
from /usr/local/sbin/portupgrade:1904
As not all packages fail when I do this will running
portupgrade -a eventually fix this problem?
Sincerely,
Duane Whitty
--
duane at greenmeadow.ca
More information about the freebsd-questions
mailing list