[MacPorts] #60509: Upgrading ports sometimes breaks internet connection
MacPorts
noreply at macports.org
Thu Jul 30 10:36:41 UTC 2020
#60509: Upgrading ports sometimes breaks internet connection
---------------------+--------------------
Reporter: iEFdev | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.2
Resolution: | Keywords:
Port: |
---------------------+--------------------
Comment (by ryandesign):
Yes, the previous PR that used only `ping` and no longer used `cut` and
`grep` was included in 2.6.3.
The new PR limits MacPorts to pinging 50 sites at a time. So first
MacPorts figures out which sites are candidates to use for the port you're
installing (including our official mirrors), then figures out which of
those have not been pinged in the past 24 hours, and if there are more
than 50, it pings 50 of them at random, rather than pinging all of them
(potentially hundreds, as we previously discussed) as it used to. This
might result in the server that is actually closest to you not being used
on that installation if it wasn't among the 50 random pings. If you then
install or upgrade another port, that could lead to up to another 50 hosts
being pinged, potentially uncovering a server closer than was found in the
first 50. And so on.
--
Ticket URL: <https://trac.macports.org/ticket/60509#comment:33>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list