From owner-freebsd-questions Wed Dec 11 19:36:50 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 75B4D37B401 for ; Wed, 11 Dec 2002 19:36:47 -0800 (PST) Received: from janeway.vonbek.dhs.org (bgm-24-94-58-56.stny.rr.com [24.94.58.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id B021243EA9 for ; Wed, 11 Dec 2002 19:36:46 -0800 (PST) (envelope-from syborg@stny.rr.com) Received: by janeway.vonbek.dhs.org (Postfix, from userid 507) id 208DA4FCA0; Wed, 11 Dec 2002 22:22:55 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by janeway.vonbek.dhs.org (Postfix) with ESMTP id 1B2794A0F; Wed, 11 Dec 2002 22:22:55 -0500 (EST) Date: Wed, 11 Dec 2002 22:22:55 -0500 (EST) From: John Bleichert X-X-Sender: syborg@janeway.vonbek.dhs.org Reply-To: John Bleichert To: Darren Shepard Cc: freebsd-questions@FreeBSD.ORG Subject: Re: port upgrade method question In-Reply-To: <20021211233311.GB54035@deep13.home> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 11 Dec 2002, Darren Shepard wrote: > Subject: Re: port upgrade method question > 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' Thanks for the pointer. I was fiddling with this tactic on my workstation at home which has a great deal more ports installed than my laptop. > > | # 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: > Yes, it does. Thanks. I'm slowly putting all the pieces of staying current with a large ports tree together. For now, I'm dealing with past mistakes and their results, such as this: root:~ > pkg_info | grep qt qt-3.0.5_3 A C++ X GUI toolkit qt-3.0.5_5 A C++ X GUI toolkit root:~ > pkg_info -R qt-3.0.5_3 Information for qt-3.0.5_3: Required by: kdebase-3.0.5 kdelibs-3.0.5_1 root:~ > pkg_info -R qt-3.0.5_5 Information for qt-3.0.5_5: Required by: arts-1.0.4,1 kdebase-3.0.5 kdegames-3.0.4 kdegraphics-3.0.4 kdelibs-3.0.5_1 kdemultimedia-3.0.4 kdeutils-3.0.4_1 koffice-1.2,1 kstars-0.9 Odd that kdebase and kdelibs require qt-3.0.5_3 *and* qt-3.0.5_5. I wonder if this is a result of me climbing the learning curve, or an anomaly in the kde dependencies? Does this discussion belong on freebsd-ports? Doesn't seem like it. Thanks for the pointers! JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message