Upgrades that include netpbm

Ryan Schmidt ryandesign at macports.org
Sat Jun 13 11:46:36 PDT 2015

On Jun 13, 2015, at 02:56, Barrie Stott wrote:

>> Yes, if "port outdated" shows that netpbm is outdated, running "sudo port -f deactivate netpbm" before running "sudo port upgrade outdated" is fine; it's what I do, if I remember to do so.
> My worry now is that if run "sudo port -f deactivate netpbm" then that newly deactivated version of netpbm will no longer register as outdated so it will not be upgraded when I run "sudo port upgrade outdated". Will I not have to run "sudo port install netpbm" straight after my forced deactivation?

You are correct that "outdated" only considers active ports.

If you have other outdated ports installed that depend on netpbm, then you can deactivate netpbm and just run "sudo port upgrade outdated". netpbm will be upgraded at the appropriate time, since it is a dependency of one of the outdated ports. 

If you did not have any outdated ports installed that depend on netpbm, you could still deactivate netpbm, then run "sudo port upgrade netpbm outdated".

More information about the macports-users mailing list