MacPorts本体のアップデート
portコマンドを使用して、インストール済みのMacPorts本体をアップデートしました。selfupdateコマンドが終了するとsyncコマンドも同時に実行されるので、Portsのツリー情報が更新されます。)
$ sudo port selfupdate
Password:---> Updating MacPorts base sources using rsync
MacPorts base version 2.5.4 installed,
MacPorts base version 2.5.4 downloaded.
---> Updating the ports tree
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
ターミナルを起動して、上記のコマンドsudo port selfupdate
を入力したらreturnキーを押します。次に、sudo
コマンドを実行するのでパスワードを入力したらreturnキーを押します。今回は、MacPortsが最新版だったのでアップデートが実行されませんでした。sync
コマンドが同時に実行されるので、Portsのツリー情報が更新されています。アップグレードが可能なインストール済みのモジュールは、outdated
コマンドで確認できました。