[MacPorts] #60509: Upgrading ports sometimes breaks internet connection

MacPorts noreply at macports.org
Sat May 30 03:21:24 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 iEFdev):

 Replying to [comment:22 ryandesign]:
 > Replying to [comment:21 iEFdev]:
 > > I guess it needs a good trim then? (ie option 1)
 >
 > Having MacPorts ping fewer servers at once seems like it would help. I
 don't know what the best way to do that is though. Manually trimming the
 list in mirror_sites.tcl is one option but leaves open the question about
 how to decide which ones to remove, how many to remove, and how to ensure
 this any any other lists of sites doesn't grow too big in the future.

 When I updated the list now, I din't trim anything - and as I wrote in the
 commit msg… leaving that for you. I only left out a few ones that looked
 bad on the status page.

 I guess one could set up rules/guidelines, like max 10/country,
 20/continent, or something like that - and use the status page to make
 sure the srv looks good and doesn't have freq errors. Or something like
 that. That would leave it at some 80-100, maybe.

 [[br]]

 > That's why I favor a solution in MacPorts base, whether that's to check
 only a handful of servers each times MacPorts fetches a port's files until
 after a few ports all servers have been checked (seems doable), or limit
 the number of servers pinged at a time but check them all before fetching
 the first port's files (seems difficult, as Josh said, and could make the
 user wait longer than they expected for all the results to come in).

 That would be great.

 One thing I noticed yesterday, not only cpan, is that some srv have really
 long response times that well exceed the 3 sec.

-- 
Ticket URL: <https://trac.macports.org/ticket/60509#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list