Date: Mon, 18 Oct 2004 11:33:33 -0700 From: Kent Stewart <kstewart@owt.com> To: freebsd-questions@freebsd.org Cc: Duane Winner <dwinner-lists@att.net> Subject: Re: updating packages Message-ID: <200410181133.33981.kstewart@owt.com> In-Reply-To: <41740AFB.9020707@att.net> References: <41740AFB.9020707@att.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410181133.33981.kstewart>