port -u upgrade outdated

James Berry jberry at macports.org
Wed Oct 3 18:57:35 PDT 2007


On Oct 3, 2007, at 6:23 PM, Daniel J. Luke wrote:

> On Oct 3, 2007, at 9:19 PM, Paul Phillips wrote:
>> On Thu, Oct 04, 2007 at 01:54:43AM +0200, Thomas De Contes wrote:
>>> I deal with this by running this inelegant alias once in a while:
>>
>>  alias portclean="sudo port installed|grep -v active|grep -v
>>  following|xargs -L 1 sudo port -f uninstall"
>>
>> It uninstalls all inactive ports.  Don't use it if that's not what  
>> you want.
>
> Why not just:
>
> sudo port -f uninstall inactive

Yes. This should achieve the same result, in a somewhat less  
complicated fashion ;)

James



More information about the macports-users mailing list