Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2002 20:02:41 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        stable@freebsd.org
Subject:   portupgrade-20020429 (fwd)
Message-ID:  <20020505200203.W39434-100000@woozle.rinet.ru>

next in thread | raw e-mail | index | archive | help
Dear colleagues,

TWIMC

Sincerely,
D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------

---------- Forwarded message ----------
Date: Sun, 5 May 2002 20:01:43 +0400 (MSD)
From: Dmitry Morozovsky <marck@rinet.ru>
To: knu@freebsd.org
Subject: portupgrade-20020429

Hi there colleagues,

last commit to ports/sysutils/portupgrade broke portversion.

Old version had one line in pkgtools.conf:

  ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All'

New version needs three of them:

  ENV['PORTSDIR'] ||= '/usr/ports'
  ENV['PACKAGES'] ||= ENV['PORTSDIR'] + '/packages'
  ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All'

And in absence of first and second lines, portversion fails with

** Error occured reading /usr/local/etc/pkgtools.conf:
        undefined method `+' for nil


So, I suppose some intelligent upgrade process of pkgtools.conf is needed.
Sorry, haven't done it myself.

Sincerely,
D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



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?20020505200203.W39434-100000>