portversion and sudo

Tankko tankko at gmail.com
Sun Jul 2 15:57:16 UTC 2006


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


More information about the freebsd-questions mailing list