Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2006 11:35:49 -0300
From:      Fernan Aguero <fernan@iib.unsam.edu.ar>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-ports@freebsd.org, Hans Lambermont <hans@lambermont.dyndns.org>
Subject:   Re: New version of portmaster available for testing
Message-ID:  <20060510143549.GA44733@iib.unsam.edu.ar>
In-Reply-To: <446179DA.10704@FreeBSD.org>
References:  <445FC09E.2080601@FreeBSD.org> <20060509213651.GE66029@leia.lambermont.dyndns.org> <446179DA.10704@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
+----[ Doug Barton <dougb@freebsd.org> (10.May.2006 02:29):
|
| > And then, as mentioned in UPDATING/20060506, the lua port upgrade causes
| > problems :
| > 
| >     ===>  lua-5.0.2_1 conflicts with installed package(s):
| >           lua-5.1
| > 
| > UPDATING/20060506 says to fix this with :
| > 
| >     portupgrade -f -o lang/lua50 lua-5.1
| > 
| > What would be a portmaster equivalent ?
| 
| Dunno, what do the -f and -o switches do in portupgrade?
|
+----]

-f / --force
option to force portupgrade to upgrade a package even if it
does not seem to be needed judging from a version
comparison.

-o origin / --origin origin
Specify a port to upgrade the following package with.

Basically, this is a great help in cases where you want to
_downgrade_ a port:

portupgrade -f -o lang/lua50 lua-5.1

is the equivalent of saying 'replace (downgrade) the installed lua-5.1
package with lang/lua50' ... the '-f' is necessary because
lua-5.1 is obviously up to date.


This is also necessary when you want to replace one port
with another that installs file in the same place and/or
provides similar functionality:

also from recent UPDATING notices:

portupgrade -o x11/gnome-screensaver -f xscreensaver-gnome
portupgrade -o net/avahi -f howl

is the equivalent of saying 'replace the installed package
xscreensaver-gnome with x11/gnome-screensaver'. In this case
these are two different ports, but they provide the same
functionality. In other cases, they will CONFLICT,
installing files with identical names in the same place.

Hope it makes it into portmaster :)

Fernan




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