Changes between Version 105 and Version 106 of Migration

Feb 12, 2018, 3:02:05 AM (3 years ago)
rpspringuel (Fr. Samuel Springuel)

Mention Migration Assistant and make it the first step when upgrading computers


  • Migration

    v105 v106  
    77  Yosemite).
    88- architecture migrations (e.g., from PowerPC to Intel).
     9- migrations from one computer to another
    910Please follow this procedure to ensure a smooth transition. (This isn't
    1011necessary if you only upgrade Xcode.)
    1213== Migration procedure ==
    14 1. [=#xcode **Install the latest version of Xcode and the Xcode command line tools**]
     151. [=#assistant **Migration Assistant**]
     17   If you are going to use the Migration Assistant to copy files and/or settings from an old computer to a new one, do so now.
     202. [=#xcode **Install the latest version of Xcode and the Xcode command line tools**]
    1622   After a major system change, update the development tools by
    1925   Install the command line tools package as well (run `xcode-select --install`).
    21 2. [=#base **Reinstall MacPorts base**]
     273. [=#base **Reinstall MacPorts base**]
    2329   After updating the development tools,
    2834   **Update macports.conf**: If your {{{macports.conf}}} (typically at {{{ /opt/local/etc/macports/macports.conf}}}) contains uncommented settings for {{{universal_archs}}} or {{{build_arch}}}, you will likely want to update them, since unlike earlier OS versions, the compiler on Snow Leopard and later will build for x86_64 by default on systems that support it. The default values will be fine for almost all users, so unless you know you need something different, just comment out these two lines. Several other settings in {{{macports.conf}}} have changed their defaults over the years. Take a moment to compare each line of your {{{macports.conf}}} with the corresponding line in {{{macports.conf.default}}} in the same directory. Unless you know a reason why a line in your settings file should be different from the defaults, adopt the line from the defaults file.
    30 3. [=#ports **Reinstall ports**]
     364. [=#ports **Reinstall ports**]
    3137   a. Save the list of installed ports:
    3238      {{{
    7177Note 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.
     79If things go really wrong, don't forget that you can always [ uninstall MacPorts] entirely before manually reinstalling ports.
    7381Another potential problem is that the `restore_ports.tcl` command may fail with a `Too many open files` error message. Under macOS Sierra, the default shell has a default `ulimit` of 256 open files. The solution is to restore the ports with a slightly modified command: