Upgrade Instructions for Mac OS X 10.7
Important Notes:
There is no supported upgrade path for Fink from 10.6 (or earlier) to 10.7. There have been reports of successful upgrading from a 10.6/64 bit Fink install to 10.7, but there is no guarantee that the updated Fink tree will work correctly. Upgrading from 10.6/i386 will definitely not work.
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 10.6 (32 or 64 bit) and saves them for later use during the Fink install on 10.7
To collect the list of packages, follow the sequence below:
- Use
grep -B1 "install ok installed" /sw/var/lib/dpkg/status | grep Package | cut -d: -f2 > fink_packages.txt
to dump your package information to a file. - Install OS X 10.7, as well as Xcode 4.5.2, or the Command Line Tools at minimum.
- Clear out your Fink tree by using
sudo rm -rf /sw
, for example. - Install Fink on your new 10.7 system.
- Run the command:
cat fink_packages.txt | xargs fink install
to have your new Fink setup install the packages that you previously had installed on 10.6.
Not all of the packages available on 10.6 are available on 10.7 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.7, please contact the package maintainer and ask if it can be migrated to 10.7.