Date: Mon, 03 Jul 2006 08:50:51 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Tankko <tankko@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: portversion and sudo Message-ID: <447j2un978.fsf@be-well.ilk.org> In-Reply-To: <7fec743f0607020826ge606b94t9a6bdbda1bd6a4d2@mail.gmail.com> (tankko@gmail.com's message of "Sun, 2 Jul 2006 08:26:38 -0700") References: <7fec743f0607020826ge606b94t9a6bdbda1bd6a4d2@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tankko <tankko@gmail.com> writes: > I have two machines running the same version of 5.3, and all ports are > current on both, but, on one of the machines, if I run "portversion" I > get this: > > undefined method `each' for nil:NilClass > /usr/local/sbin/portversion:239: [BUG] Bus Error > ruby 1.8.4 (2005-12-24) [i386-freebsd5] > > Abort trap > > If I run "sudo portversion", it works. > > Does anyone know why I can run "portversion" on one of the machines > and have to run "sudo portversion" on the other? Need to remove and rebuild the index database? > I can run pkg_version of either machine without sudo. Very different situation, so it doesn't tell you very much.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447j2un978.fsf>