How to make sure that a port doesn't get automatically upgraded/cleared during "sudo port upgrade outdated" and "sudo port uninstall inactive"

MK-MacPorts at techno.ms MK-MacPorts at techno.ms
Mon Nov 19 23:58:10 PST 2012


Hi Rainer,

> sudo port -k -n upgrade foo bar baz
> sudo port upgrade outdated
that's what I do currently. But the thing is I need to be careful every time I do an update to my system.

>  sudo port uninstall inactive and not \( foo bar baz \)
That looks good! Great. I'll include that in my macro. Thanks for that!

> Note there is also a pending base enhancement from Sean Farley [1] for a
> +debug variant which would preserve the object files for debugging
> purposes. Your use case would be satisified with such a variant since
> variants are preserved across upgrades.
Yep, that's a good approach to have a debug variant which would keep around all necessary files.

Greets,
Marko


More information about the macports-dev mailing list