[MacPorts] #73380: How do I use a specific mirror?
MacPorts
noreply at macports.org
Fri Jan 9 14:32:19 UTC 2026
#73380: How do I use a specific mirror?
------------------------+--------------------
Reporter: CGamesPlay | Owner: (none)
Type: request | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Keywords: | Port:
------------------------+--------------------
Sorry for asking a basic question. I have found the
[https://trac.macports.org/wiki/Mirrors Mirrors list], but no directions
on that page, or on [https://trac.macports.org/wiki/howto HOWTOs],
[https://trac.macports.org/wiki/ProblemHotlist Problem hotlist], or
[https://trac.macports.org/wiki/FAQ FAQ].
How do I use a specific mirror? My problem is that my location, packages
from https://packages.macports.org/ download at no faster than 512 KiB/s,
despite my connection easily supporting 25 MiB/s. When I configure
macports to use https://pek.cn.packages.macports.org/ I can easily get
this 25 MiB/s. But macports seems to ignore that configuration most of the
time and I can't find out why.
I've got this in my archive_sites.conf:
{{{
name macports_archives
urls
https://pek.cn.packages.macports.org/macports/packages/
}}}
And source.conf:
{{{
rsync://pek.cn.rsync.macports.org/macports/release/tarballs/ports.tar
[default]
}}}
No other non-comment lines in either file. When I run `port upgrade fish`,
I see that it's downloading from `packages.macports.org` at slow speeds.
Sometimes, but not always, I can press ^C and it will interrupt the slow
download and retry from pek.cn, other times ^C will quit macports.
No proxies are at play here.
So, how do I properly *select* a mirror to use for macports? Thanks in
advance!
--
Ticket URL: <https://trac.macports.org/ticket/73380>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list