sudo port upgrade installed
Joshua Root
jmr at macports.org
Sat Nov 29 08:14:04 PST 2008
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 reactivation of cyrus-sasl2 by upgrade installed prior to
> upgrading cyrus-sasl2 defeated the purpose of deactivating before
> hand. What I think should happen is that if cyrus-sasl2 requires
> deactivation before upgrading the, script should deactivate and then
> upgrade rather than have the user deactivate or uninstall. The non-
> automation of the process defeats the purpose of automating the
> upgrade, especially when the deactivation is defeated by an activation.
There are no port-specific upgrade scripts. The normal upgrade procedure
doesn't work for cyrus-sasl2, hence the instructions to do it manually.
Yes, this is a bug.
- Josh
More information about the macports-users
mailing list