修改: /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.org
rsync_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
rsync://pek.cn.rsync.macports.org/macports/release/tarballs/ports.tar [default]
修改: /opt/local/etc/macports/macports.conf
rsync_server pek.cn.rsync.macports.org
rsync_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