macports in 32 bit on snow leopard ?

Scott C. Kennedy sck at
Wed Feb 17 04:26:25 PST 2010

You can do the following to uninstall/re-install all ports...

1: port installed > installed_ports
2: port uninstall -f installed
3: for PORT_TO_INSTALL in `awk '{print $1}' installed_ports`; do  port
install $PORT_TO_INSTALL ; done
4: port installed > new_installed_ports
5: diff installed_ports new_installed_ports

Step #1, saves a list of what you have already
Step #2, does a forced un-install of your ports, there will be errors
and complaints as you remove things that are dependencies on others, but
you'll remove everything in the end.
Step #3, does a loop for the things you had installed, and does another
compile of them
Step #4, saves a new list of the ports you just installed.
Step #5 compares the two lists, to see if something is missing.

But, I'm still not sure, that you need to do this.


On 2/17/10 3:52 AM, Johannes Behr wrote:
> On 17 Feb 2010, at 12:43, Ryan Schmidt wrote:
>> On Feb 17, 2010, at 05:39, Johannes Behr wrote:
>> If that's the way you want to go, I would recommend you uninstall all ports. Then change build_arch and reinstall the ports you need. However:
> How do I uninstall all ports ?

More information about the macports-users mailing list