[47756] trunk/base/src/macports1.0/macports.tcl

Ryan Schmidt ryandesign at macports.org
Sat Mar 7 10:46:36 PST 2009


On Mar 7, 2009, at 12:39, Joshua Root wrote:

> Ryan Schmidt wrote:
>
>> If you want to upgrade A without upgrading B, use "sudo port -nf  
>> upgrade A"
>
> Why would -f be needed here?

Uh, force of habit. I usually use "port -nf upgrade" to rebuild a  
port at the same version. Presumably you don't need "-f" if the port  
version is different and MacPorts already thinks an upgrade is needed.


>> Caveat: "sudo port -nf upgrade A" does uninstall the old version  
>> of A.
>
> But not in trunk any more, unless it really has to (when you're  
> forcing
> an upgrade to a version that is already installed).

Super!




More information about the macports-dev mailing list