To keep my ports up-to-date, I normally used the following about a once a week:
$ sudo port selfupdate $ sudo port -u upgrade outdated to which I now plan to add: $ sudo port reclaim You mention running ‘port -u uninstall’ before ‘port self update’. Is there some reason to do that instead of using the -u option when running ‘port upgrade outdated’? Best, -ranga > On Mar 9, 2022, at 17:56, Dave Horsfall <d...@horsfall.org> wrote: > > On Wed, 9 Mar 2022, Sriranga Veeraraghavan wrote: > >> I have been using MacPorts for years and never knew about this. I just >> ran this on my system and it reclaimed nearly 2GB of space, which was >> awesome. Thank you so much for mentioning this! > > "port reclaim" is part of the "port -u uninstall / port selfupdate / port > upgrade outdated" sequence that you should be running on a regular basis > to keep your MacPorts clean and shiny; I do them weekly. > > -- Dave