Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2006 10:12:36 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-questions@freebsd.org, Eric Brunson <brunson@brunson.com>
Subject:   Re: Upgrade a binary package
Message-ID:  <14852075@srv.sem.ipt.ru>
In-Reply-To: <20061214201130.GA96791@xor.obsecurity.org> (Kris Kennaway's message of "Thu, 14 Dec 2006 15:11:30 -0500")
References:  <4581A9FD.1060301@brunson.com> <20061214201130.GA96791@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14852075>