[MacPorts] #65160: package fetch does not honor preferred_hosts
MacPorts
noreply at macports.org
Thu May 12 06:54:19 UTC 2022
#65160: package fetch does not honor preferred_hosts
---------------------------+--------------------
Reporter: chrstphrchvz | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.7.2
Resolution: | Keywords:
Port: |
---------------------------+--------------------
Comment (by jmroot):
It seems to work fine for me. My pingtimes file shows 8.993 for
`packages.macports.org` and 272.531 for `ema.uk.packages.macports.org`,
and accordingly, packages are normally fetched from
`packages.macports.org`. If I add `ema.uk.packages.macports.org` to
`preferred_hosts`, I instead see this:
{{{
% sudo port -v archivefetch 7zip
---> Fetching archive for 7zip
---> 7zip-21.07_0.darwin_21.x86_64.tbz2 doesn't seem to exist in
/opt/local/var/macports/incoming/verified
---> Attempting to fetch 7zip-21.07_0.darwin_21.x86_64.tbz2 from
https://ema.uk.packages.macports.org/7zip
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 990k 100 990k 0 0 350k 0 0:00:02 0:00:02 --:--:--
350k
---> Attempting to fetch 7zip-21.07_0.darwin_21.x86_64.tbz2.rmd160 from
https://ema.uk.packages.macports.org/7zip
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 512 100 512 0 0 1789 0 --:--:-- --:--:-- --:--:--
1790
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65160#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list