On Oct 6, 2025, at 08:33, Ryan Carsten Schmidt wrote:
> 
> port installed | grep '+universal' | sed -e 's/@.*+/+/' -e 
> 's/+universal/-universal/' -e 's/(active)//' | xargs sudo port upgrade 
> --enforce-variants

Except this probably isn't exactly what you want. Not as the first step. 

For each port installed with the universal variant, this will reinstall it 
without the universal variant. 

But you would like the ports that were only needed for pure to be uninstalled. 

The easiest way to do that might be to "sudo port uninstall pure" first, if you 
installed it, and then "sudo port reclaim" which should uninstall ports you 
don't need, and reclaim disk space in other ways. 

The only universal ports left at that point should be ports needed for other 
reasons, and the above command line should get them reinstalled non-universal. 

Reply via email to