2017年4月28日金曜日

OSをアップデートした時、macportsの更新【これも解決してない】

参考URL
Migration – MacPorts https://trac.macports.org/wiki/Migration

1週間くらい前に、YosemiteからSierraにアップデートした。
研究室で借りているimacは問題なかった気がするのだけど、私物のMacBook Airはつまずいた。
公式HP通り手順を踏んだら、とりあえず以前インストールしていたものについては順調に動いているが、selfupdateしたところ

$ sudo port selfupdate
Password:
Error: Current platform "darwin 16" does not match expected platform "darwin 14"
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

おう。OS platform mismatchと出た。
出先でやる仕事じゃない気がしたので、とりあえずメモだけ残して。

0 件のコメント:

コメントを投稿

githubの基本用語

ある仕事でGithubをちゃんと使うようになって、いろんな基本用語(知識)があやふやなことに気付いたのでメモ。 リポジトリ ファイルやディレクトリの状態を保存する場所。 手元の端末 にある「ローカルリポジトリ」とサーバなどネットワーク上にある「リモートリポジトリ」の...