How to prevent fetching from macports mirrors

Ryan Schmidt ryandesign at macports.org
Tue Mar 20 02:34:55 UTC 2018


On Mar 19, 2018, at 16:29, db wrote:

> On 19 Mar 2018, at 17:42, Rainer Müller wrote:
>> With git master:
>> $ sudo port fetch --no-mirrors
>> With 2.4.x:
>> $ sudo port fetch global_mirror_site=
> 
> Is there any way to set in macports.conf to only fetch from master site and/or, if needed, try a mirror?

What do you mean? MacPorts already tries to fetch from the master_sites specified in the portfile, and the mirrors, in an order defined by which ones are thought to be closest to you. Are you saying you want to influence the order in which they're tried? If so, why?



More information about the macports-dev mailing list