uninstalling a selected port ...

Peter Danecek Peter.Danecek at bo.ingv.it
Fri Feb 28 07:18:39 PST 2014


[Sorry, I realise I send my replies off-list]

On 28 Feb 2014, at 15:17, Jason Swails <jason.swails at gmail.com> wrote:

> An alternative when you know that you are uninstalling a port is to
> select none.  So something like
> 
> sudo port select --set postgresql none
> 
> to get rid of the simlinks, then another
> 
> sudo port select --set postgresql postgresql93
> 
> to set the simlinks to the new version you want to track.  (This
> approach is untested, but I think it should work.)  A feature request
> may be for "port select" to detect dangling links and print an
> informative message (perhaps with a suggested command to eliminate the
> dangling links).  That's largely aesthetic, though.

This does not work (tested). 
You cannot set new pointers after uninstalling the port, not even to none.
I have not tested forcing but remove the link to be able to use port select again.

I am not sure this is only aesthetic! 

(should we move this discussion on devel?)
~petr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1762 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140228/f326abc8/attachment.p7s>


More information about the macports-users mailing list