Hi,

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

Is there any way to trick MacPorts into letting me run 'port installed' and 
'sudo port -f uninstall installed' at this point?

Thanks,
Leo


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.

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to