From owner-freebsd-questions@FreeBSD.ORG Fri Dec 15 00:29:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 514A516A50D for ; Fri, 15 Dec 2006 00:29:14 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D1D844219 for ; Fri, 15 Dec 2006 00:16:08 +0000 (GMT) (envelope-from fbsd06@mlists.homeunix.com) Received: from localhost.localdomain (localhost.localdomain [IPv6:::1]) by gumby.homeunix.com (8.13.6/8.13.6) with ESMTP id kBF0HhqL004505 for ; Fri, 15 Dec 2006 00:17:44 GMT (envelope-from fbsd06@mlists.homeunix.com) From: RW To: freebsd-questions@freebsd.org Date: Fri, 15 Dec 2006 00:17:42 +0000 User-Agent: KMail/1.9.4 References: <4581A9FD.1060301@brunson.com> <20061214201130.GA96791@xor.obsecurity.org> <20061214155438.DC4C.GERARD@seibercom.net> In-Reply-To: <20061214155438.DC4C.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612150017.42734.fbsd06@mlists.homeunix.com> Subject: Re: Upgrade a binary package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 00:29:14 -0000 On Thursday 14 December 2006 20:55, Gerard Seibert wrote: > On Thursday December 14, 2006 at 03:11:30 (PM) Kris Kennaway wrote: > > > ... > > > I only find info on "pkg_add" and "pkg_delete" for binary packages, the > > > only references to updating a package give directions on how to use the > > > ports tree. > > > > > > Is there a way to update an installed package with a newer version? > > > > sysutils/portupgrade is the usual tool. I think portmaster can do this > > too. > > portmanager lang/expect -l Portmanager cannot upgrade from binary packages - only from ports. One thing that hasn't been mentioned is that the packages for a release are not normally updated. From the handbook, 4.4.1 Installing a Package: "Note: pkg_add(1) will download the latest version of your application if you are using FreeBSD-CURRENT or FreeBSD-STABLE. If you run a -RELEASE version, it will grab the version of the package that was built with your release. It is possible to change this behavior by overriding the PACKAGESITE environment variable." See the manual for how to fetch 6-stable packages