Changes between Version 4 and Version 5 of Migration
- Timestamp:
- Sep 1, 2009, 11:06:41 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Migration
v4 v5 13 13 port installed > myports.txt 14 14 }}} 15 2. Uninstall them all:15 2. Clean any partially completed builds, and uninstall all installed ports: 16 16 {{{ 17 sudo port clean installed 17 18 sudo port -f uninstall installed 18 19 }}} … … 27 28 As of MacPorts 1.8.0, you can alternatively try an automated rebuild of all installed ports for your new platform using these steps: 28 29 29 1. Check if you have the port "grep" installed:30 1. Uninstall the gawk, grep, and gsed ports (if installed), as many build systems will try to use them even if there is no dependency: 30 31 {{{ 31 port installed grep 32 sudo port -f uninstall installed and \( gawk grep gsed \) 32 33 }}} 33 If grep is installed, uninstall it and rebuild it: 34 {{{ 35 sudo port -f uninstall grep 36 sudo port install grep 37 }}} 38 If grep is not installed, proceed to the next step. 39 2. Repeat step 1., substituting "gawk" in place of "grep". 40 3. Repeat step 1. again, substituting "gsed" in place of "grep". 41 4. Reinstall all installed ports: 34 2. Reinstall all installed ports: 42 35 {{{ 43 36 sudo port upgrade --force installed 44 37 }}} 45 Note that this may sometimes fail if the dependency relationships declared by the ports are not completely accurate. 46 If you encounter such a problem, please report it so we can fix it. 38 3. If you removed ports in step 1 and they have not been reinstalled yet, install them now: 39 {{{ 40 sudo port install gawk grep gsed 41 }}} 42 Note that this method may sometimes fail if the dependency relationships declared by the ports are not completely accurate, or if ports other than gawk/grep/gsed are used opportunistically. If you encounter such a problem, please report it so we can fix it.