Migrating to Yosemite---cannot run 'port -qv installed' after OS upgrade
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:
> 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:
> OS platform mismatch
> while executing
> "mportinit ui_options global_options global_variations"
> Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform
> Is there any way to trick MacPorts into letting me run 'port installed'
> and 'sudo port -f uninstall installed' at this point?
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users