From owner-freebsd-ports Thu Apr 12 11:32:49 2001 Delivered-To: freebsd-ports@freebsd.org Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152]) by hub.freebsd.org (Postfix) with ESMTP id 7142D37B505 for ; Thu, 12 Apr 2001 11:32:46 -0700 (PDT) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-3.cisco.com (8.9.3/8.9.1) with ESMTP id LAA29064; Thu, 12 Apr 2001 11:31:26 -0700 (PDT) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f3CIWjW12747; Thu, 12 Apr 2001 11:32:45 -0700 (PDT) (envelope-from bmah) Message-Id: <200104121832.f3CIWjW12747@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: Tim Smith Cc: ports@FreeBSD.ORG Subject: Re: update all installed ports In-Reply-To: <20010412131443.B634@threads.polyesthetic.msg> References: <20010412131443.B634@threads.polyesthetic.msg> Comments: In-reply-to Tim Smith message dated "Thu, 12 Apr 2001 13:14:43 -0400." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_54293695P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 12 Apr 2001 11:32:45 -0700 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_54293695P Content-Type: text/plain; charset=us-ascii If memory serves me right, Tim Smith wrote: > Hi. I've read the handbook and the porter's handbook, and have > looked at /usr/ports/Mk/bsd.port.*, but still haven't found an > answer to my question. > > Is it possible, with a simple command or script, to update all > of the ports I have installed at once? I mean, I want to make > sure that all of the ports that I use are the latest version, > but I don't want to install ports that I don't use. The short answer is: No, there isn't a way, and even if there was, you wouldn't want to do it. Remember, "newer isn't always better". > If anyone has a good way of doing this automatically, please let > me know. (I'm using -STABLE, if that matters.) "pkg_version -v" will help you figure out what's newer. "pkg_version -c" will generate some scripting stuff that will help you do some of the upgrading (but remember to RTFM to see all the caveats). Look at the archives for the -ports list to see many messages discussing this problem. :-p Hope this helps, Bruce. --==_Exmh_54293695P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE61fTN2MoxcVugUsMRAiGJAKCfEHJm7qaDsRho3me/r1APnkUaewCgn/nV Suopevipy6A9nmL7iUU8wU4= =MTx3 -----END PGP SIGNATURE----- --==_Exmh_54293695P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message