Changes between Version 110 and Version 111 of Migration


Ignore:
Timestamp:
Oct 14, 2019, 9:47:19 PM (5 years ago)
Author:
gagarine (Simon)
Comment:

tyop

Legend:

Unmodified
Added
Removed
Modified
  • Migration

    v110 v111  
    1 = Migrating MacPorts after major operating system upgrade or from one computer to another =
     1= Migrating MacPorts after a major operating system upgrade or from one computer to another =
    22
    33A MacPorts installation is designed to work with a particular operating system and a particular hardware architecture.
     
    1111
    1212
    13 Note: If you move from on Mac to another mac using [https://en.wikipedia.org/wiki/Migration_Assistant_(Apple) Migration Assistant], you have to do it first.
     13Note: If you move from one Mac to another Mac using [https://en.wikipedia.org/wiki/Migration_Assistant_(Apple) Migration Assistant], you have to do it first.
    1414
    1515== Migration procedure ==
    1616
    1717
    18 1. [=#xcode **Install the latest version of Xcode and the Xcode command line tools**]
     181. [=#xcode **Install the latest version of Xcode and the Xcode command-line tools**]
    1919
    2020   Update the development tools by
     
    6565      xargs sudo port setrequested < requested.txt
    6666      }}}
    67       Warning: if a port in `requested.txt` was ''not'' installed in the previous step, the iterative `setrequested` will terminate, leaving some ports still marked as not-requested. Edit `requested.txt` to remove any ports that were not installed and repeat this step. Double check your desired ports are set as requested with `port echo requested`.
     67      Warning: if a port in `requested.txt` was ''not'' installed in the previous step, the iterative `setrequested` will terminate, leaving some ports still marked as not-requested. Edit `requested.txt` to remove any ports that were not installed and repeat this step. Double-check your desired ports are set as requested with `port echo requested`.
    6868
    6969== Troubleshooting ==
    7070
    71 Though it is now quite well-tested, the restore_ports script may fail in some cases. 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.
     71Though it is now quite well-tested, the restore_ports script may fail in some cases. 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.
    7272
    7373In the worst case, you can reinstall your ports manually by browsing `myports.txt` and installing the ports one by one, remembering to specify the appropriate variants:
     
    7575sudo port install portname +variant1 +variant2 …
    7676}}}
    77 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`. You may skip explicitly installing ports that you did not request as long as they are not using non-default variants, since they will be installed as dependencies of other ports.
     77Note 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`. You may skip explicitly installing ports that you did not request as long as they are not using non-default variants since they will be installed as dependencies of other ports.
    7878
    7979If things go really wrong, don't forget that you can always [https://guide.macports.org/chunked/installing.macports.uninstalling.html uninstall MacPorts] entirely before manually reinstalling ports.