From owner-freebsd-questions@FreeBSD.ORG Sun Jul 2 15:57:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54F2A16A53B for ; Sun, 2 Jul 2006 15:57:16 +0000 (UTC) (envelope-from tankko@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CB6C44078 for ; Sun, 2 Jul 2006 15:26:39 +0000 (GMT) (envelope-from tankko@gmail.com) Received: by py-out-1112.google.com with SMTP id t32so1246965pyc for ; Sun, 02 Jul 2006 08:26:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tZrfRsmXlSdcTqxEIfBBI3XJdHO2nRmqAZ9o3TMK3NGRnewqv2g0u0C32D6isZk2MxHC7CBIhvTS1YBRsYhM9rmWI7uKjQxXPsMSWX5CqOtN4Wkm4nM94QgeUj5I/yXyCtdCLAf+xd7htFvuzpiB4vahqn0nS2nbK10mxRjAAYY= Received: by 10.35.82.15 with SMTP id j15mr2081769pyl; Sun, 02 Jul 2006 08:26:39 -0700 (PDT) Received: by 10.35.128.16 with HTTP; Sun, 2 Jul 2006 08:26:38 -0700 (PDT) Message-ID: <7fec743f0607020826ge606b94t9a6bdbda1bd6a4d2@mail.gmail.com> Date: Sun, 2 Jul 2006 08:26:38 -0700 From: Tankko To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: portversion and sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 15:57:16 -0000 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