On Feb 2, 2023, at 20:58, Joshua Root wrote:
> 
>> Putting together a new machine (M2Pro Mini, Ventura 14.2) and have hit a 
>> snag installing MacPorts.  I’ve not installed Xcode on any of my systems for 
>> a number of years now, I simply install the appropriate CLI package from the 
>> Apple site.  In this case, I downloaded and installed v14.2.  I then 
>> downloaded the MacPorts install package for Ventura and started it up.  
>> Twenty minutes later I’m still waiting for “Running Package Scripts …” to 
>> finish up.
>> 
>> Not being a MacPorts guru of any sort, I’m not sure what I should look at to 
>> see what’s up.  One thing I did find is that a file named .base.tar.ZqfTHz 
>> is slowly growing larger.  This file is in:
>> /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
>> 
>> I’m just letting it run for now, but I don’t ever recall this happening in 
>> other new installs.  Any ideas?
> The installer's postflight script runs 'port selfupdate' in order to download 
> the ports tree. It's a reasonably big file at just over 100 MB, so it could 
> take a while depending on network performance between you and our server. 
> It's also possible that you had to regenerate part of the PortIndex because 
> the machine that updates it is currently without power, and that can also be 
> a lengthy operation.

Generating the portindex from scratch takes hours, but just updating a slightly 
out-of-date portindex with the latest changes shouldn't take that long. Also, 
the slightly outdated portindex on the public rsync servers should correspond 
exactly to their slightly outdated collection of ports so no updating should be 
needed.

If the installer takes a long time and you want to know what it is doing you 
can choose Installer Log from the menu and then change the drop-down menu from 
showing only errors to showing everything.

If your network connection to our primary public server rsync.macports.org (in 
Germany) is slow you can configure MacPorts to use a closer server from among 
these choices:

https://trac.macports.org/wiki/Mirrors

Reply via email to