How to prevent fetching from macports mirrors

Rainer Müller raimue at macports.org
Mon Mar 19 16:42:08 UTC 2018


On 2018-03-19 17:31, Mojca Miklavec wrote:
> MacPorts sometimes spends 30 seconds trying to fetch files from
> https://distfiles.macports.org or some other mirror server when I
> *know* the files are not there (when writing a new port or updating an
> existing one).
> 
> How can I quickly prevent fetching from a large number of mirrors?

With git master:
$ sudo port fetch --no-mirrors

With 2.4.x:
$ sudo port fetch global_mirror_site=

Rainer


More information about the macports-dev mailing list