New version of portmaster available for testing

Fernan Aguero fernan at iib.unsam.edu.ar
Wed May 10 14:36:11 UTC 2006


+----[ Doug Barton <dougb at 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



More information about the freebsd-ports mailing list