LoginSignup
0
1

More than 5 years have passed since last update.

macportsの久しぶりのupdate(macバージョンアップ後、portが動かなくなった場合)

Posted at
Error: Current platform "darwin 17" 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

macの容量がきつくなってきたので、いらないものを削除しようとしていたら
portが動かなくなっていた。

macのバージョンを上げていたから…。である。

ということで

こちらから適当なバージョンの物を落としてinstall。

ついでに。

sudo vi /opt/local/etc/macports/sources.conf

こちらを開いて、一番したの行を書き換える。

rsync://rsync.macports.org/release/tarballs/ports.tar [default]

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1