Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2002 13:33:05 -0700 (PDT)
From:      Chris Dempsey <chrisdempsey@yahoo.com>
To:        Kevin Oberman <oberman@es.net>, peter.kadau@tuebingen.mpg.de
Cc:        freebsd-ports@freebsd.org, freebsd-stable@freebsd.org, knu@freebsd.org
Subject:   Re: Error in Portupgrade 
Message-ID:  <20020513203305.62322.qmail@web13404.mail.yahoo.com>
In-Reply-To: <20020513185548.0B6545D06@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks!

Chris


--- Kevin Oberman <oberman@es.net> wrote:
> > Date: Mon, 13 May 2002 11:20:59 -0700 (PDT)
> > From: Chris Dempsey <chrisdempsey@yahoo.com>
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020513203305.62322.qmail>