macports in 32 bit on snow leopard ?
Ryan Schmidt
ryandesign at macports.org
Wed Feb 17 10:12:46 PST 2010
On Feb 17, 2010, at 06:26, Scott C. Kennedy wrote:
> 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
...and discards any variant selections you may have made, as most other automated methods of reinstalling ports I've seen suggested do. Except the one we list on the Migration page, which preserves them:
http://trac.macports.org/wiki/Migration#automatic
More information about the macports-users
mailing list