2014/05/10

May 10, 2014 at 07:02PM

MacPortsでsyncに失敗した際の解決法のメモ.



sudo port -d sync



とするとこのようなエラーが出る.



Error: Synchronization of the local ports tree failed doing rsync

port sync failed: Synchronization of 1 source(s) failed



現環境ではプロキシを通さないといけないので,

参考サイトのとおりにしたらうまく行った.



/opt/local/etc/macports/sources.conf の以下の行をコメントアウト.



rsync://http://ift.tt/1ogfNZl [default]



さらに以下を追記.



http://ift.tt/1oAZNhG [default]



portコマンドを実行時,以下のようにする.



sudo env http_proxy="http://<proxy_server>:<proxy_port>" port -d sync





参考URL: http://ift.tt/1oAZMdD



http://ift.tt/1oAZNhG





Original post on Google+

0 件のコメント:

コメントを投稿