Fink

Upgrade Instructions for Mac OS X 10.8

10.7 to 10.8

  1. Before installing 10.8, use
    fink selfupdate
    (with rsync or CVS) to get the latest version of fink.
  2. Install Xcode 5.1.0 if you haven't already, or at least its Command Line Tools for Mountain Lion. If you have Xcode 5.1.0, you will need to install the Command Line Tools, even if you had those installed under Lion already.
  3. Run
    sudo xcodebuild -license
    to accept the terms of the Xcode license.
  4. Update the OS.
  5. Use
    fink configure
    to reactivate Fink's build user, since Apple wipes out our users (but not groups for some reason).
  6. Use
    fink reinstall fink
    to point to the 10.8 distribution.
  7. Optional:

    Use

    fink install perl5123-core
    if you had any -pm5123 packages installed.

    Use

    fink list -it passwd | cut -f2 | xargs fink reinstall
    if you had any passwd-* packages installed.

If you updated from 10.7 to 10.8 with an old fink, you won't be able to proceed until you get a newer one.

  1. Download a new enough copy of Services.pm
  2. Move that into /sw/lib/perl5/Fink

  3. Run
    fink selfupdate
  4. Proceed from item #2 in the prior list.

10.6 and earlier to 10.8:

There is no supported upgrade path for Fink from 10.6 (or earlier) to 10.8.

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:

  1. 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.
  2. Install OS X 10.8, as well as Xcode 4.5.2, or the Command Line Tools at minimum.
  3. Clear out your Fink tree by using
    sudo rm -rf /sw
    , for example.
  4. Install Fink on your new 10.8 system.
  5. 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.8 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.8, please contact the package maintainer and ask if it can be migrated to 10.8.