From owner-freebsd-stable Mon May 13 13:33:25 2002 Delivered-To: freebsd-stable@freebsd.org Received: from web13404.mail.yahoo.com (web13404.mail.yahoo.com [216.136.175.62]) by hub.freebsd.org (Postfix) with SMTP id D198A37B413 for ; Mon, 13 May 2002 13:33:05 -0700 (PDT) Message-ID: <20020513203305.62322.qmail@web13404.mail.yahoo.com> Received: from [128.111.214.65] by web13404.mail.yahoo.com via HTTP; Mon, 13 May 2002 13:33:05 PDT Date: Mon, 13 May 2002 13:33:05 -0700 (PDT) From: Chris Dempsey Subject: Re: Error in Portupgrade To: Kevin Oberman , peter.kadau@tuebingen.mpg.de Cc: freebsd-ports@freebsd.org, freebsd-stable@freebsd.org, knu@freebsd.org In-Reply-To: <20020513185548.0B6545D06@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks! Chris --- Kevin Oberman wrote: > > Date: Mon, 13 May 2002 11:20:59 -0700 (PDT) > > From: Chris Dempsey > > Sender: owner-freebsd-stable@FreeBSD.ORG > > > > I rm -rf /usr/ports/sysutils/portupgrade, cvsup'd, > and > > successfully make install clean portupgrade. > > > > portupgrade-20020429 = up-to-date with port > > > > Problem is, when I use it, I get: > > > > usr/ports/sysutils/portupgrade # portupgrade -a > > ** Error occured reading > /usr/local/etc/pkgtools.conf: > > undefined method `+' for nil > > > > When I run: > > /usr/local/bin/ruby /usr/local/etc/pkgtools.conf > > /usr/local/etc/pkgtools.conf:89: undefined method > `+' > > for nil (NameError) > > Edit /usr/local/etc/pkgtools.conf to: > @@ -86,6 +86,8 @@ > # ENV['PKG_FETCH'] = 'false' # never fetch > packages from a remote site > # ENV['PACKAGEROOT'] = > 'ftp://ftpN.XX.FreeBSD.org' > > + ENV['PORTSDIR'] ||= '/usr/ports' > + ENV['PACKAGES'] ||= ENV['PORTSDIR'] + '/packages' > ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All' > > # SANITY_CHECK: boolean (default: true) > > You can see this in pgktools.conf.sample. > > R. Kevin Oberman, Network Engineer > Energy Sciences Network (ESnet) > Ernest O. Lawrence Berkeley National Laboratory > (Berkeley Lab) > E-mail: oberman@es.net Phone: +1 510 486-8634 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message ===== Christopher P Dempsey --------------------- chrisdempsey@yahoo.com __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message