Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2006 08:26:38 -0700
From:      Tankko <tankko@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   portversion and sudo
Message-ID:  <7fec743f0607020826ge606b94t9a6bdbda1bd6a4d2@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?

I can run pkg_version of either machine without sudo.

Tankko



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