Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 17:49:48 -0800
From:      Nick Jennings <nkj@namodn.com>
To:        freebsd-questions@freebsd.org
Subject:   port utils not working (ruby memory error)
Message-ID:  <20021114174948.C13282@namodn.com>

next in thread | raw e-mail | index | archive | help
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 <format:bdb1_btree> in /var/db/pkg ... - 260 packages found (-2 +3) (...)[Updating the pkgdb <format:bdb1_btree> 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




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