<div dir="ltr">Have you upgraded macports to the newest version for OS X 10.10? Do you have your Xcode command line tools installed for OS X 10.10? Are you using the latest available Xcode 6.1? Unless you&#39;ve explicitly uninstalled all your ports yourself they should still be there when you install the newest version of macports. You are then free to view all installed ports and uninstall/reinstall them as you see fit.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 19, 2014 at 1:58 PM, Leo Singer <span dir="ltr">&lt;<a href="mailto:aronnax@macports.org" target="_blank">aronnax@macports.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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:<br>
<br>
$ port -qv installed<br>
Error: Current platform &quot;darwin 14&quot; does not match expected platform &quot;darwin 13&quot;<br>
Error: If you upgraded your OS, please follow the migration instructions: <a href="https://trac.macports.org/wiki/Migration" target="_blank">https://trac.macports.org/wiki/Migration</a><br>
OS platform mismatch<br>
    while executing<br>
&quot;mportinit ui_options global_options global_variations&quot;<br>
Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform mismatch<br>
<br>
Is there any way to trick MacPorts into letting me run &#39;port installed&#39; and &#39;sudo port -f uninstall installed&#39; at this point?<br>
<br>
Thanks,<br>
Leo<br>
<br>
<br>
P.S. Note that the migration instructions may be clearer if they are organized in chronological order, i.e., the &#39;port -qv installed&#39;, etc. might come before upgrading the OS and reinstalling Xcode.<br>
<br>
_______________________________________________<br>
macports-users mailing list<br>
<a href="mailto:macports-users@lists.macosforge.org">macports-users@lists.macosforge.org</a><br>
<a href="https://lists.macosforge.org/mailman/listinfo/macports-users" target="_blank">https://lists.macosforge.org/mailman/listinfo/macports-users</a><br>
</blockquote></div><br></div>