{ darwin any } ports getting reinstalled after OS upgrade

Ryan Schmidt ryandesign at macports.org
Wed Sep 27 11:32:18 UTC 2023


On Sep 27, 2023, at 06:09, Christopher Jones wrote:
> 
> That just means they are *supported* on any drawn version. Each version still have its own build.

But that's just what "any" means: they build identically on any OS version. That's why only one single archive gets produced for these ports by the build system. When MacPorts on any OS version installs such a port, they all grab and untar the same file from the server. 

Nils is right in pointing out that there should be no need to reinstall those ports when upgrading the OS, but nobody has written any code to make that happen yet. For now, MacPorts will consider any port to need to be reinstalled if it was installed on a different OS version, even if that port is marked "any". 

> b.t.w. When upgrading to a new major OS version, you anyway should follow the migration instructions, which involves manually removing all ports anyway.

We do recommend that, but the piecemeal method Nils is using is also viable. 


More information about the macports-dev mailing list