Changes between Version 102 and Version 103 of Migration


Ignore:
Timestamp:
Sep 4, 2017, 3:44:11 PM (7 years ago)
Author:
raimue (Rainer Müller)
Comment:

Reverted to version 98.

Legend:

Unmodified
Added
Removed
Modified
  • Migration

    v102 v103  
    1212== Migration procedure ==
    1313
    14    '''Note:''' If you have already performed your OS upgrade, skip step 2 and complete step 1 ''after'' finishing steps 3 and 4.
     141. [=#xcode **Install the latest version of Xcode and the Xcode command line tools**]
    1515
    16 1. [=#preparation **Prepare for system version upgrade**]
     16   After a major system change, update the development tools by
     17   [https://guide.macports.org/#installing.xcode installing the latest version of Xcode].
     18   Open the Xcode application once after installation and follow any prompts.
     19   Install the command line tools package as well.
     20
     212. [=#base **Reinstall MacPorts base**]
     22
     23   After updating the development tools,
     24   [https://www.macports.org/install.php install the base MacPorts system]
     25   for your new platform, either from the appropriate installer or from
     26   source.
     27
     28   **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.
     29
     303. [=#ports **Reinstall ports**]
    1731   a. Save the list of installed ports:
    1832      {{{
     
    3145      sudo rm -rf /opt/local/var/macports/build/*
    3246      }}}
    33 
    34 2. [=#osupgrade **Install new OS**]
    35 
    36    Perform your OS upgrade.
    37 
    38 3. [=#xcode **Install the latest version of Xcode and the Xcode command line tools**]
    39 
    40    After a major system change, update the development tools by
    41    [https://guide.macports.org/#installing.xcode installing the latest version of Xcode].
    42    Open the Xcode application once after installation and follow any prompts.
    43    Install the command line tools package as well (run `xcode-select --install`).
    44 
    45 4. [=#base **Reinstall MacPorts base**]
    46 
    47    After updating the development tools,
    48    [https://www.macports.org/install.php install the base MacPorts system]
    49    for your new platform, either from the appropriate installer or from
    50    source.
    51 
    52    **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.
    53 
    54 5. [=#ports **Reinstall ports**]
    5547   a. Download and execute the restore_ports script. (If you installed MacPorts from source and used a custom prefix, then you'll need to use the -p option when you run restore_ports.tcl; see `./restore_ports.tcl -h`.)
    5648      {{{
     
    6658      xargs sudo port setrequested < requested.txt
    6759      }}}
    68 
    69    You can now safely remove the `myports.txt` and `requested.txt` documents and the `restore_ports.tcl` script.
    7060
    7161== Troubleshooting ==