From owner-freebsd-questions@FreeBSD.ORG Fri Dec 15 07:11:41 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 39C9316A415 for ; Fri, 15 Dec 2006 07:11:41 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id B891A43CA3 for ; Fri, 15 Dec 2006 07:10:00 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from stat.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Gv7E7-0006as-QD; Fri, 15 Dec 2006 10:11:27 +0300 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Gv7FE-0004QK-A7; Fri, 15 Dec 2006 10:12:36 +0300 To: Kris Kennaway References: <4581A9FD.1060301@brunson.com> <20061214201130.GA96791@xor.obsecurity.org> From: Boris Samorodov Date: Fri, 15 Dec 2006 10:12:36 +0300 In-Reply-To: <20061214201130.GA96791@xor.obsecurity.org> (Kris Kennaway's message of "Thu, 14 Dec 2006 15:11:30 -0500") Message-ID: <14852075@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org, Eric Brunson 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 07:11:41 -0000 On Thu, 14 Dec 2006 15:11:30 -0500 Kris Kennaway wrote: > On Thu, Dec 14, 2006 at 12:46:05PM -0700, Eric Brunson wrote: > > I've been searching the manual and the man pages, but I can't seem to > > find a command to update an installed package to a newer version. I > > always get a message like this: > > > > pkg_add: package 'expect-5.43.0_1' or its older version already installed > > > > 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. "portupgrdae -P" will try to use a package and then fall back to building a port and "portupgrade -PP" will try to use only packages while portmaster is not capable (so far?) to use packages. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve