Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2006 17:43:46 +0300
From:      Panagiotis Astithas <past@ebs.gr>
To:        Doug Barton <dougb@freebsd.org>, Hans Lambermont <hans@lambermont.dyndns.org>, freebsd-ports@freebsd.org
Subject:   Re: New version of portmaster available for testing
Message-ID:  <4461FC22.90709@ebs.gr>
In-Reply-To: <20060510143549.GA44733@iib.unsam.edu.ar>
References:  <445FC09E.2080601@FreeBSD.org>	<20060509213651.GE66029@leia.lambermont.dyndns.org>	<446179DA.10704@FreeBSD.org> <20060510143549.GA44733@iib.unsam.edu.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
Fernan Aguero wrote:
> +----[ 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 :)

Ditto :-)

Cheers,

Panagiotis



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