[MacPorts] Migration modified

MacPorts noreply at macports.org
Sun Jun 10 11:01:30 PDT 2012


Changed page "Migration" by jmr at macports.org from 14.200.200.212*
Page URL: <https://trac.macports.org/wiki/Migration>
Diff URL: <https://trac.macports.org/wiki/Migration?action=diff&version=53>
Revision 53
Comment: update restore_ports.tcl info

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Migration
=========================================================================
--- Migration (version: 52)
+++ Migration (version: 53)
@@ -35,9 +35,9 @@
 }}}
 Note that if you have specified variants which are not the default, you may need to install ports in an order other than the alphabetical order recorded in `myports.txt`.
 
-=== Automatically reinstall ports (EXPERIMENTAL) === #automatic
+=== Automatically reinstall ports === #automatic
 
-A script has been written to automate Step 4 above, though it is still experimental. If it fails, you will just have to do it manually. (But see workaround for conflicting ports below.)
+A script has been written to automate Step 4 above, though it has some caveats. If it fails, you will just have to do it manually. (But see workaround for conflicting ports below.)
 
 To use it, you will first need to run steps 1-3 as described above. Then:
  4. Run these commands to download and execute the restore_ports script. (If you installed MacPorts from source and put its Tcl package somewhere other than /Library/Tcl, then you'll need to use the -t option when you run restore_ports.tcl; see `./restore_ports.tcl -h`.)
@@ -48,3 +48,9 @@
 }}}
 
 One known issue is that the script will fail if there are conflicting ports in the list. It's possible to have conflicting ports installed provided at most one of the conflicting set is active. If the script fails for this reason, you can delete one of the conflicting ports from myports.txt and then simply run the script again. You may need to do this multiple times if there are multiple conflicting ports listed.
+
+The requested status of the ports will also not be preserved, since it is not available to the script. You can restore it manually by doing something like this (where myport1, myport2 etc. are the ports you actually asked for):
+{{{
+sudo port unsetrequested installed
+sudo port setrequested myport1 myport2 …
+}}}

-------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