Help needed uninstalling / reinstalling ports

Bryan Blackburn blb at macports.org
Sun Sep 6 13:22:08 PDT 2009


On Sun, Sep 06, 2009 at 12:50:31PM -0700, Michael_google gmail_Gersten said:
> >> That's not what I wanted. That's still not uninstalling what I wanted,
> >> and it uninstalled a bunch more that I don't know if I wanted removed
> >> or not.
> >
> > I believe it did what you asked: it tried to uninstall various ports you
> > requested, could not because it did not know which of multiple available
> > versions of those ports to uninstall, proceeded despite errors because you
> > used "-p", and then uninstalled inactive ports because you used "-u".
> >
> > The fact that we allow "-u" with "sudo port uninstall" seems weird to me. As
> > Mark pointed out, "sudo port uninstall inactive" does the same thing.
> 
> Then perhaps the meaning needs to be changed.
> 
> I thought "sudo port uninstall -u" would mean: Uninstall the inactive
> versions of these ports.
> 
> Not: Uninstall ALL inactive versions of ALL ports.

The man page does say

   -u       uninstall non-active ports when upgrading and uninstalling

Perhaps that should just say 'when upgrading'?

Bryan



More information about the macports-users mailing list