From owner-freebsd-questions Mon Sep 16 8:24:38 2002 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 395BE37B400 for ; Mon, 16 Sep 2002 08:24:37 -0700 (PDT) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A474B43E6E for ; Mon, 16 Sep 2002 08:24:36 -0700 (PDT) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 17qxjn-0003Yd-0U; Mon, 16 Sep 2002 16:24:35 +0100 Message-ID: Date: Mon, 16 Sep 2002 16:23:55 +0100 To: Peter Ulrich Kruppa <520023893678-0001@t-online.de> Cc: Jud , freebsd-questions@FreeBSD.ORG From: Kevin Golding Subject: Re: portupgrade ??? References: <20020916175341.J83991-100000@small.pukruppa.de> In-Reply-To: <20020916175341.J83991-100000@small.pukruppa.de> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Someone, quite probably Peter Ulrich Kruppa, once wrote: >On Mon, 16 Sep 2002, Jud wrote: > >> >I installed portupgrade on my -STABLE and when I type >> ># portupgrade >> >I get >> > >> >** Error occured reading /usr/local/etc/pkgtools.conf: >> > undefined method `+' for nil >> > >> >What is this? And how do I edit my pkgtools.conf to track -STABLE >> >ports? pkgtools.conf isn't what you need to change for that. Use cvsup to track various trees. Btw, ports are always current. There are freezes for releases but there's no stable branch for ports. With regards to the error it sounds like you should search for a misplaced + somewhere in pkgtools.conf. I'd suggest you backup the current one and copy pkgtools.conf.sample to pkgtools.conf so you can start again. >> And here is what is probably a very stupid answer. ;-) >> >> I don't know the answers to the questions you're asking. I only know >> how portupgrade works for me. I cd to >> /usr/ports/somedirectory/someport, then type >> >> # portupgrade someport >> >> Do you get errors when trying to upgrade a specific port in this way? >Yes, I get exactly the same error message as above. You can run portupgrade from anywhere in the filesystem. Whilst I agree there's a certain logic in being in either /usr/port or /var/db/pkg it doesn't matter. I'm often in my home dir when I run it and it's exactly the same. Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message