Migrating to Yosemite---cannot run 'port -qv installed' after OS upgrade

Carlo Tambuatco oraclmaster at gmail.com
Sun Oct 19 11:02:57 PDT 2014

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'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.

On Sun, Oct 19, 2014 at 1:58 PM, Leo Singer <aronnax at macports.org> wrote:

> 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 at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20141019/05741dc1/attachment.html>

More information about the macports-users mailing list