upgrading cyrus-sasl2

Ryan Schmidt ryandesign at macports.org
Wed Nov 19 19:21:39 PST 2008


On Nov 19, 2008, at 18:44, Mark Hattam wrote:

> Ok I'm confused ... doesn't "port upgrade" de-activate a previous  
> version? But even when I do the instructed manual de-activate, it  
> then doesn't upgrade.
>
>
>
> selfupdate done!
> The following installed ports are outdated:
> cyrus-sasl2                    2.1.21_0 < 2.1.22_0
>
> iMac:~ mark$ sudo port upgrade outdated
> --->  Building cyrus-sasl2 with target all
> Error: cyrus-sasl2 must be deactivated before upgrade.
> Error: Target org.macports.build returned: Please run `sudo port  
> deactivate cyrus-sasl2` and try again.
> Error: Unable to upgrade port: 1

Yes, "port upgrade" deactivates an existing version, after the new  
version is installed and before the new version is activated.  
However, cyrus-sasl2 seems to have the special need that an existing  
version must be deactivated before the new version is built, else  
presumably the new build doesn't work. Hence, the cyrus-sasl2 port  
specifically adds a check for that.

http://trac.macports.org/changeset/42338



More information about the macports-users mailing list