1
eas 2011 年 9 月 22 日
我也想知道
|
2
dawn11011 2012 年 5 月 29 日
同问
|
3
shadownee 2012 年 8 月 3 日
進入你安裝macports的資料夾 比如官方的dmg裝出來的是/opt/local/etc/macports
編輯sources.conf 在最底下加入 rsync://mirrors.ustc.edu.cn/macports/ports [default] 注釋掉其他的源 |
4
shadownee 2012 年 8 月 3 日
|
5
ostrichmyself 2012 年 8 月 3 日
thanks!非常好
|
6
fly2never 2012 年 8 月 4 日
怎么没有homebrew的呢...
|
10
sNullp 2012 年 8 月 5 日 @fly2never
cd /usr/local git remote set-url origin http://mirrors.ustc.edu.cn/homebrew.git brew update 我自己测试是正常的,不知道会不会有没注意到的奇怪问题(应该不会有),你们也试试看吧 :) |
11
fly2never 2012 年 8 月 5 日
@sNullp
Unable to find 3549c78f9cb4e98a42ef255f28d9ef799201cd69 under http://mirrors.ustc.edu.cn/homebrew.git Cannot obtain needed object 3549c78f9cb4e98a42ef255f28d9ef799201cd69 error: Fetch failed. |
14
sNullp 2012 年 8 月 7 日
@fly2never 我考虑过这个事情,不过工作量比较大(需要我们自己fork出来一个分支来更新其中的rb脚本),也许要等我回国后才能有动机做这个事情吧(不过我用Arch linux的时候用yaourt下源码包编译感觉速度还是可以接受的,现在越来越多开源镜像支持cdn了)。
|
15
allanpk716 2014 年 5 月 10 日
@shadownee 想问一下,用你这个说法来更新和直接用mirror的 http://mirrors.ustc.edu.cn/macports/tarballs/ports.tar 来更新,有啥区别,我看前者我更新的时候下载了一堆文件,后者是一个压缩包,他们都需要释放到同一个地方的么?
好吧,大概就是还需要清理更新缓存什么的不?···· |
16
aborn 2016 年 1 月 27 日
|