From owner-freebsd-questions@FreeBSD.ORG Thu Jul 1 20:12:06 2004 Return-Path: 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 B44BC16A4CE for ; Thu, 1 Jul 2004 20:12:06 +0000 (GMT) Received: from spock.dilkie.com (spock.dilkie.com [206.51.1.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 957A743D31 for ; Thu, 1 Jul 2004 20:12:05 +0000 (GMT) (envelope-from lee@dilkie.com) Received: from borg (borg.dilkie.com [206.51.1.193]) (authenticated bits=0) by spock.dilkie.com (8.12.11/8.12.11) with ESMTP id i61KBL7r052160 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 1 Jul 2004 16:11:22 -0400 (EDT) (envelope-from lee@dilkie.com) From: "Lee Dilkie" To: "Freebsd-Questions (E-mail)" Date: Thu, 1 Jul 2004 16:11:20 -0400 Message-ID: <015501c45fa7$9382b350$c10133ce@dilkie.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal X-Scanned-By: MIMEDefang 2.43 Subject: portupgrade fails on every port, undefined method 'each' for nil:NilClass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 20:12:06 -0000 Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to = date index. Bunch of ports needed updating, including portupgrade so I upgraded = portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old = version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of = others. All report "undefined method 'each' for nil:NilClass". [snip preamble] sed -e "s#ETCDIR#/usr/local/etc#g" -e "s#DBDIR#/var/db#g" -e = "s#RUNDIR#/var/run#g" < dhcpd.conf.5 >dhcpd.conf.man5 nroff -man dhcpd.conf.man5 >dhcpd.conf.cat5 sed -e "s#ETCDIR#/usr/local/etc#g" -e "s#DBDIR#/var/db#g" -e = "s#RUNDIR#/var/run#g" < dhcpd.leases.5 >dhcpd.leases.man5 nroff -man dhcpd.leases.man5 >dhcpd.leases.cat5 ---> Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 = -0400 (consumed 00:04:10) ---> Updating dependency info ---> Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 = Jul 2004 15:51:30 -0400 ---> Fixing up dependencies before creating a package ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for = nil:NilClass) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 = Jul 2004 15:51:45 -0400 (consumed 00:00:14) ---> Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 = 15:51:45 -0400 (consumed 00:04:40) ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) = (uninstall error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed = 00:05:02) [root@spock:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 = 15:16:03 EDT 2004 root@spock.dilkie.com:/usr/obj/usr/src/sys/SPOCK = i386 Any ideas??? Does anyone need more info? -lee