port upgrade outdated hangs networking

Joshua Root jmr at macports.org
Sun Jan 16 02:36:43 UTC 2022


> This is extraordinary .. it presumably is a bug in MacOS.
>
> Running MacOS 10.15.7  on MacBook Pro 2016
>
> I am updating various already installed packges in the usual way:
> sudo port upgrade outdated
>
> Everything goes along fine until the software reached gd2.
> I then see:
>
> --->  Fetching archive for gd2
> --->  Attempting to fetch gd2-2.3.3_1+x11.darwin_19.x86_64.tbz2 from
> https://packages.macports.org/gd2
> --->  Attempting to fetch gd2-2.3.3_1+x11.darwin_19.x86_64.tbz2 from
> https://nue.de.packages.macports.org/gd2
> --->  Attempting to fetch gd2-2.3.3_1+x11.darwin_19.x86_64.tbz2 from
> https://ema.uk.packages.macports.org/gd2
> --->  Fetching distfiles for gd2
>
> At this point the networking on the machine hangs.
> I cannot kill the port process. I cannot reach the
> offending machine even by ping; I cannot use
> the network from another terminal nor browser.
Are you running any third-party firewall? This looks a lot like 
<https://trac.macports.org/ticket/61683>, though that was on Big Sur. I 
would agree it's certainly an OS bug in any case.

You can try the edits mentioned in the ticket to see if it's the pings 
that are triggering the bug. A quick workaround if you just need to get 
gd2 installed is to download the distfile manually as per 
<https://trac.macports.org/wiki/ProblemHotlist#fetch-failures>.

- Josh



More information about the macports-users mailing list