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

Chris Jones jonesc at hep.phy.cam.ac.uk
Sun Oct 19 11:15:34 PDT 2014





> On 19 Oct 2014, at 7:02 pm, Carlo Tambuatco <oraclmaster at gmail.com> wrote:
> 
> 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.

... it is not a matter of 'seeing fit'. Unless you want ongoing problems, the only correct thing to do is to reinstall *all* your ports.... 

https://trac.macports.org/wiki/Migration

> 
>> 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
> 
> _______________________________________________
> 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/7e874c68/attachment.html>


More information about the macports-users mailing list