[MacPorts] #62144: base: On Mountain Lion configuration file is processed but it ignores archives server URL
MacPorts
noreply at macports.org
Mon Jan 25 15:02:58 UTC 2021
#62144: base: On Mountain Lion configuration file is processed but it ignores
archives server URL
------------------------+--------------------
Reporter: snowflake | Owner: (none)
Type: defect | Status: new
Priority: Low | Milestone:
Component: base | Version: 2.6.99
Resolution: | Keywords:
Port: |
------------------------+--------------------
Comment (by ryandesign):
Ok, so it successfully found the package on another site.
MacPorts tries sites in an order that is supposed to result in the
fastest/nearest servers being tried first. It must not realize that your
server is nearest.
MacPorts determines which server is closer by ping time. If your private
packages server doesn't respond to pings, that would put it last in the
list. So make sure the private packages server responds to pings.
MacPorts caches ping times for 24 hours. Possibly this problem will
resolve itself within 24 hours when it re-checks servers' ping times. Or
you can make it check again immediately by deleting the file
/opt/local/var/macports/pingtimes.
There is a setting `preferred_hosts` that you are supposed to be able to
use to override MacPorts' decision about which server to try first, but I
was not able to get it to work consistently. See #57720.
--
Ticket URL: <https://trac.macports.org/ticket/62144#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list