From owner-freebsd-questions@FreeBSD.ORG Mon Oct 18 20:21:18 2004 Return-Path: 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 1BFE816A4CE for ; Mon, 18 Oct 2004 20:21:18 +0000 (GMT) Received: from mhc.ab.ca (cs.mhc.ab.ca [192.139.34.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9454B43D45 for ; Mon, 18 Oct 2004 20:21:17 +0000 (GMT) (envelope-from gcooper@mhc.ab.ca) Received: by gate.mhc.ab.ca id <328669>; Mon, 18 Oct 2004 12:59:33 -0600 From: "Grant Cooper" To: "'Kent Stewart'" , Date: Mon, 18 Oct 2004 13:01:21 -0600 Message-Id: <04Oct18.125933mdt.328669@gate.mhc.ab.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <200410181133.33981.kstewart@owt.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-OriginalArrivalTime: 18 Oct 2004 19:01:22.0187 (UTC) FILETIME=[DBB7B5B0:01C4B544] cc: 'Duane Winner' Subject: RE: updating packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gcooper@mhc.ab.ca List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 20:21:18 -0000 You can use portupgrade with a flag to download all the binaries and then do the install once all the binaries have been downloaded. Once that is done you can just copy the binaries over to the other machine or install from across the network. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Kent Stewart Sent: Monday, October 18, 2004 12:34 PM To: freebsd-questions@freebsd.org Cc: Duane Winner Subject: Re: updating packages On Monday 18 October 2004 11:27 am, Duane Winner wrote: > Hello, > > Is there a simple way to upgrade packages on machines with packages > built on other machines? > > Example: > > I have eight machines that have jdk-1.4.2p6_4. > On one of the machines I have done a portupgrade jdk, and now have > jdk-1.4.2p6_5. > I then did a "pkg_create -b jdk-1.4.2p6_5" and have a jdk-1.4.2p6_5.tgz. > I copied jdk-1.4.2p6_5.tgz to the other seven machines. > > Now how can I upgrade jdk on the others? > > I have noticed for at least a few months now that "pkg_update" is no > longer with us, and found a message somewhere that it has been removed > do to problems/non-maintainence, and that most people are using > portupgrade these days. > > Is there a way I can upgrade the packages on other machines without > having to a pkg_delete first, then a pkg_add? You /usr/ports needs to be a copy of your install system along with a current set of INDEX*. Then, all you do is portupgrade -P jdk. The have to be the same OS version. For example, you don't upgrade a port on the 5.x machine from a 4.x build or vice versa. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"