日々精進

新しく学んだことを書き留めていきます

Mac OS Lionにportをインストールしようとすると「Your existing MacPorts or DarwinPorts installation is too old to be upgraded by this installer. Please install MacPorts 1.7.1 first.」エラーが出る

タイトルのような状況になって、いったん1.7.1を入れようとしたものの、Lion用の1.7.1のインストーラがなかった。
下記がportがインストールされているフォルダなので、これを削除してからインストーラを実行するとインストールできた。
/opt/local/etc/port