Mac portsが動かない
$ sudo port selfupdate
Error: Current platform “darwin 15" 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のアップデートをしたので、バージョンが合わなくなってしまったようです。portsも一緒にアップグレードしてくれればいいのに、してくれないのは何か理由があるんでしょうか。
下記リンク先からportsをダウンロードしてインストールしたら、selfupdateできるようになりました。
https://www.macports.org/install.php