Port Function to Handle OS Upgrades

Joshua Root jmr at macports.org
Fri Oct 23 13:25:43 PDT 2009


On 2009-10-24 07:01, Scott Haneda wrote:
> On Oct 23, 2009, at 12:58 PM, Ryan Schmidt wrote:
>>>> * remove all build directories
>>
>> sudo port clean all
>>
>>>> * trash all irrelevant archives
>>
>> Define irrelevant.
>>
>>>> * dump a list of what is installed (either to be read in by another
>>>> function or simply catted to port)
>>
>> port installed > myports.txt
>>
>>>> * uninstall everything
>>
>> sudo port -f uninstall installed
> 
> 
> Well, holy smokes.  Am I blind, aside from immersing myself in a rather
> large man page, where would I have learned this commands?

The Migration page on the wiki has all of these specific commands.

- Josh


More information about the macports-dev mailing list