Upgrade Instructions for macOS 10.12
10.9/10/11 to 10.12
Before installing 10.12, use
fink selfupdate(with rsync or CVS) to get the latest version of
- Update the OS.
- Install Xcode 9.2 if you haven't already, or at least its Command Line Tools. If already have Xcode 9.2, you will still need to reinstall the Command Line Tools, even if you had those installed already.
If you have Xcode 9.2, run
sudo xcodebuild -licenseto accept the terms of the Xcode license. This is not required if you are using only the command-line tools.
fink configureto reactivate Fink's build user, since Apple wipes out our users (but not groups for some reason).
fink reinstall finkto point to the 10.12 distribution.
fink install perl5162-coreif you had any
fink list -it passwd | cut -f2 | xargs fink reinstallif you had any
If you updated from 10.9/10/11 to 10.12 with a fink which doesn't know about 10.12, you won't be able to proceed. You can download a compatible pre-built fink and install it via the terminal by running
sudo dpkg -i fink_0.41.0-101_darwin-x86_64.debin the folder where you downloaded it.
10.8 and earlier to 10.12:
There is no supported upgrade path for Fink from 10.8 (or earlier) to 10.12.
The instructions here are an abridged version of those found in the Fink blog. The entries there provide a more detailed upgrade explanation.
This process collects the list of packages that you have installed on your current Fink and saves them for later use during the Fink install on 10.12
To collect the list of packages, follow the sequence below:
grep -B1 "install ok installed" /sw/var/lib/dpkg/status | grep Package | cut -d: -f2 > fink_packages.txtto dump your package information to a file.
- Rename your Fink tree by using
sudo mv /sw /sw.old, for example.
- Install OS X 10.12, as well as Xcode 8.x, or the Command Line Tools at minimum.
- Install Fink on your new 10.12 system.
- Run the command:
cat fink_packages.txt | xargs fink installto have your new Fink setup install as many of the packages that you previously had installed on 10.8 or earlier as are available.
- Remove your /sw.old directory.
Not all of the packages available on 10.8 and earlier OS X versions are available on 10.12 due to several underlying changes in the system. Work is ongoing to make as many packages available as possible. If your favorite package is not available on 10.12, please contact the package maintainer and ask if it can be migrated.