Changes between Version 105 and Version 106 of Migration
- Timestamp:
- Feb 12, 2018, 3:02:05 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Migration
v105 v106 7 7 Yosemite). 8 8 - architecture migrations (e.g., from PowerPC to Intel). 9 - migrations from one computer to another 9 10 Please follow this procedure to ensure a smooth transition. (This isn't 10 11 necessary if you only upgrade Xcode.) … … 12 13 == Migration procedure == 13 14 14 1. [=#xcode **Install the latest version of Xcode and the Xcode command line tools**] 15 1. [=#assistant **Migration Assistant**] 16 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. 18 19 20 2. [=#xcode **Install the latest version of Xcode and the Xcode command line tools**] 15 21 16 22 After a major system change, update the development tools by … … 19 25 Install the command line tools package as well (run `xcode-select --install`). 20 26 21 2. [=#base **Reinstall MacPorts base**]27 3. [=#base **Reinstall MacPorts base**] 22 28 23 29 After updating the development tools, … … 28 34 **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 35 30 3. [=#ports **Reinstall ports**]36 4. [=#ports **Reinstall ports**] 31 37 a. Save the list of installed ports: 32 38 {{{ … … 71 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. 72 78 79 If 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. 80 73 81 Another 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: 74 82 {{{