[MacPorts] #63613: port install: fetch shouldn't abort the whole command on a 503 error
MacPorts
noreply at macports.org
Wed Oct 13 04:23:22 UTC 2021
#63613: port install: fetch shouldn't abort the whole command on a 503 error
--------------------------+--------------------
Reporter: greyhare | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.7.1
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Comment (by ryandesign):
Replying to [ticket:63613 greyhare]:
> I have no idea why I'm getting 503 errors from `packages.macports.org`,
but IMHO `port` shouldn't immediately die on 4xx or 5xx errors. It should
instead try the next download location.
It does.
Here, the problem seems to be that it successfully got the archive but
then encountered a 503 error trying to download the archive's rmd160
signature. MacPorts base code did not anticipate that the fetch of one
file from a server would succeed and an immediately following fetch of
another file from the same server would fail.
I do not encounter this problem when I try it now. Can you try again? If
it still fails, does this happen for all ports or just this one? Has it
ever worked? Do you use a proxy server on your network? Do you have any
software (antivirus, etc.) installed that inserts itself into your network
stack that might be interfering?
--
Ticket URL: <https://trac.macports.org/ticket/63613#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list