修改: /opt/local/etc/macports/sources.conf
rsync://pek.cn.rsync.macports.org/macports/release/tarballs/ports.tar [default]
修改: /opt/local/etc/macports/macports.conf
rsync_server
pek.cn.rsync.macports.orgrsync_dir macports/release/tarballs/base.tar
在 /opt/local/etc/macports/archive_sites.conf 添加:
name macports_archives
urls
https://mirrors.tuna.tsinghua.edu.cn/macports/packages/type tbz2
已经做了上面三处的的配置了,依旧从官方源拉取的包?
ab@localhost ~ % sudo port install p7zip
Password:
---> Fetching archive for p7zip
---> Attempting to fetch p7zip-16.02_5.darwin_20.x86_64.tbz2 from
https://packages.macports.org/p7zip---> Attempting to fetch p7zip-16.02_5.darwin_20.x86_64.tbz2.rmd160 from
https://packages.macports.org/p7zip---> Installing p7zip @
16.02_5
---> Activating p7zip @
16.02_5
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/1002670
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.