sudo port upgrade installed

Joshua Root jmr at macports.org
Sat Nov 29 09:48:33 PST 2008


Mark Hattam wrote:
> 
> On 29 Nov 2008, at 16:14, Joshua Root wrote:
> 
>> Frank J. R. Hanstick wrote:
>>> Hello,
>>>     Running sudo port upgrade installed, I got the following message:
>>>
>>> Error: cyrus-sasl2 will not build when another version is active.
>>> Error: Please deactivate or uninstall cyrus-sasl2, and then install
>>> Error: the new version with `sudo port install cyrus-sasl2`.
>>> Error: Target org.macports.configure returned: cyrus-sasl2 upgrade
>>> failed
>>> Error: Unable to upgrade port: 1
>>>
>>> I interrupted the process, deactivated cyrus-sasl2, and restarted the
>>> update installed.  The following resulted:
>>>
>>> --->  Activating cyrus-sasl2 2.1.21_0+kerberos
>>> --->  Configuring cyrus-sasl2
>>> Error: cyrus-sasl2 will not build when another version is active.
>>> Error: Please deactivate or uninstall cyrus-sasl2, and then install
>>> Error: the new version with `sudo port install cyrus-sasl2`.
>>> Error: Target org.macports.configure returned: cyrus-sasl2 upgrade
>>> failed
>>> Error: Unable to upgrade port: 1
>>
>> You need to do exactly what the instructions say.
> 
> The instructions say "Please deactivate or ... "
> 
> But de-activating doesn't help, as it still fails to upgrade.
> 
> So you have to go the whole way and de-install it

The part you missed is: "install the new version with `sudo port install
cyrus-sasl2`"

- Josh


More information about the macports-users mailing list