sudo installer -pkg MacPorts-2.1.2-10.6-SnowLeopard.pkg -target /
sudo port clean --all all
sudo port -d selfupdate
sudo port upgrade outdated
Reinstall ports
Save the currently installed ports:
port -qv installed > macPorts.txt
Uninstall the currently installed ports:
sudo port -f uninstall installed
Clean any partial builds:
sudo port clean all
Re-install the ports:
curl -O https://svn.macports.org/repository/macports/contrib/restore_ports/restore_ports.tcl
chmod +x restore_ports.tcl
sudo ./restore_ports.tcl macPorts.txt
VeryQuickWiki Version 2.8.1 |
Admin
All contents copyright mdsh.com (C) 2011-2023.