Hi,

----- On 19 Oct, 2014, at 19:58, Leo Singer [email protected] wrote:

> I just upgraded my system to Yosemite. Unfortunately, I did not get the list 
> of
> installed ports and uninstall them before I upgraded the OS. Now it is too
> late:
> 
> $ port -qv installed
> Error: Current platform "darwin 14" does not match expected platform "darwin 
> 13"
> Error: If you upgraded your OS, please follow the migration instructions:
> https://trac.macports.org/wiki/Migration
> OS platform mismatch
>    while executing
> "mportinit ui_options global_options global_variations"
> Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform 
> mismatch

It isn't too late. Upgrade your copy of MacPorts, then get the list of ports.
Remember that upgrading MacPorts itself will not touch the database of installed
ports.


> P.S. Note that the migration instructions may be clearer if they are organized
> in chronological order, i.e., the 'port -qv installed', etc. might come before
> upgrading the OS and reinstalling Xcode.

Sure, you could do that. But, as you noticed, it wouldn't work if a user had
already upgraded.

-- 
Clemens Lang
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to