portversion and sudo
freebsd-questions-local at be-well.ilk.org
Mon Jul 3 13:21:05 UTC 2006
Tankko <tankko at 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.
More information about the freebsd-questions