[MacPorts] Migration modified

MacPorts noreply at macports.org
Tue Sep 1 16:06:44 PDT 2009


Changed page "Migration" by jmr at macports.org from 202.7.166.167*
Page URL: <http://trac.macports.org/wiki/Migration>
Diff URL: <http://trac.macports.org/wiki/Migration?action=diff&version=5>
Revision 5
Comment: fix non-working instructions

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Migration
=========================================================================
--- Migration (version: 4)
+++ Migration (version: 5)
@@ -12,8 +12,9 @@
 {{{
 port installed > myports.txt
 }}}
- 2. Uninstall them all:
+ 2. Clean any partially completed builds, and uninstall all installed ports:
 {{{
+sudo port clean installed
 sudo port -f uninstall installed
 }}}
  3. Browse `myports.txt` and install the ports that you actually want to use (as opposed to those that are only needed as dependencies) one by one, remembering to specify the appropriate variants:
@@ -26,21 +27,16 @@
 
 As of MacPorts 1.8.0, you can alternatively try an automated rebuild of all installed ports for your new platform using these steps:
 
- 1. Check if you have the port "grep" installed:
+ 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:
 {{{
-port installed grep
+sudo port -f uninstall installed and \( gawk grep gsed \)
 }}}
- If grep is installed, uninstall it and rebuild it:
-{{{
-sudo port -f uninstall grep
-sudo port install grep
-}}}
- If grep is not installed, proceed to the next step.
- 2. Repeat step 1., substituting "gawk" in place of "grep".
- 3. Repeat step 1. again, substituting "gsed" in place of "grep".
- 4. Reinstall all installed ports:
+ 2. Reinstall all installed ports:
 {{{
 sudo port upgrade --force installed
 }}}
-Note that this may sometimes fail if the dependency relationships declared by the ports are not completely accurate.
-If you encounter such a problem, please report it so we can fix it.
+ 3. If you removed ports in step 1 and they have not been reinstalled yet, install them now:
+{{{
+sudo port install gawk grep gsed
+}}}
+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.

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on Migration. If it was not you, please
report to .


More information about the macports-changes mailing list