Date: Tue, 02 May 2006 15:16:29 -0300 From: Duane Whitty <duane@greenmeadow.ca> To: freebsd-questions@freebsd.org Subject: portupgrade errors during ruby execution Message-ID: <4457A1FD.6080408@greenmeadow.ca>
next in thread | raw e-mail | index | archive | help
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@greenmeadow.ca
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4457A1FD.6080408>