Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 23:02:09 -0400
From:      Ron Wilhoite <ronw@bals.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: terminology question - upgrading one port with another
Message-ID:  <48A0FD31.1060406@bals.org>
In-Reply-To: <80f4f2b20808111931q7e6d4d7bx9ea90729d8f349d4@mail.gmail.com>
References:  <80f4f2b20808111931q7e6d4d7bx9ea90729d8f349d4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/11/2008 10:31 PM Jim wrote:
> I'm trying to update something (actually install KDE4), and In need to
> make an 'update chain', but I can't remember the proper term. Namely I
> have port found in 'foo/abc' (abc-12345) and want to replace it with
> 'var/xyz'. I know there are several ways to do this (one involving
> entries in a file in etc?), but I cannot come up with the proper terms
> to find what I'm looking for in a search?
> 
> Can anyone tell me a few terms that might help with this one? I've
> tried compbinations of "port", "upgrade", "search" and "different",
> but that (unsurprisingly) isn't getting anywhere.
> 

portupgrade --origin maybe?

 From man portupgrade:

Replace ghostscript-gnu with ghostscript-afpl:

portupgrade -o print/ghostscript-afpl ghostscript-gnu

-o / --origin was originally the option to supply a missing origin of an 
outdated package before FreeBSD 4.2, but this example shows another 
useful usage.  Use portupgrade like this, and all the depen-
dencies on the old package (ghostscript-gnu) will be succeeded to the 
new one (ghostscript-afpl) cleanly, without leaving inconsistency.

Ron Wilhoite




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