From owner-freebsd-questions Wed Dec 11 15:33:47 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 A6DF737B401 for ; Wed, 11 Dec 2002 15:33:45 -0800 (PST) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED73043EB2 for ; Wed, 11 Dec 2002 15:33:44 -0800 (PST) (envelope-from dss@shepard.org) Received: from tcr-01-40.sle.du.teleport.com ([216.26.19.168] helo=deep13.home) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18MGMJ-0001n6-00; Wed, 11 Dec 2002 15:33:44 -0800 Received: by deep13.home (Postfix, from userid 1000) id E0AFB11D; Wed, 11 Dec 2002 15:33:11 -0800 (PST) Date: Wed, 11 Dec 2002 15:33:11 -0800 From: Darren Shepard To: John Bleichert Cc: freebsd-questions@freebsd.org Subject: Re: port upgrade method question Message-ID: <20021211233311.GB54035@deep13.home> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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 On Wed, Dec 11, 2002 at 09:07:40AM -0500, John Bleichert writes: | I've CVSup'd my system and my ports tree (ports-all). Now I'm using | | # pkg_version -v | | to see which installed ports have an upgrade available. Working with this | info, I go into each port I wish to upgrade and | | # portupgrade -R port-name | | I can't do a | | # portupgrade -aR | | as I can't leave Thinkpad up and running in one place long enough to build | all of them. | | I'm iteratively using the steps above to upgrade my ports tree. Is there a | better/different way? Am I skipping any steps? Since I'm upgrading one | port at a time, do I need to run portsdb? Also, I see references in the | archives to FWIW, I do something like the following: 1. `portversion -l '<' -c > /tmp/portup.sh' 2. edit /tmp/portup.sh to taste 3. `/bin/sh /tmp/portup.sh' | # cd /usr/ports | # make index | | Do I need to do this? Everything seems to be working well, I'm just | wondering if my method is proper. | | Thanks - JB I think portsdb(1) answers your INDEX questions: The portsdb command is a tool to generates the ports database named INDEX.db from the ports index file named INDEX. It is commonly used among the tool suite and automatically updated on demand when it gets older than the index file. To save time, you can update it beforehand, like right after the index file is updated. In addition, considering that the INDEX file often gets outdated because it is updated only once a week or so in the official ports tree, it is recommended that you run ``portsdb -Uu'' after every CVSup of the ports tree in order to keep them always up-to-date and in sync with the ports tree. -- yours in haste, | http://darren.shepard.org/pubkey.txt Darren Shepard | 96D1FB7946171A06BA508FD8E16D6F5F31F0A7D2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message