The Upgrade Kit for Mac OS X 10.1
Since older versions of apt don't work on Mac OS X 10.1, here's the special procedure to upgrade an existing Fink installation created by the binary installer.
A very similar procedure can be used to update really old installs of Fink 0.2.x (including MacGIMP and the first release of OpenOSX's GIMP CD). The only requirement is that Fink was installed in /sw and not in any other directory. See below.
Fink 0.3.0 and newer
Starting with version 0.3.0, Fink is fully compatible with Mac OS X 10.1. Thus you don't have to do anything special.
Fink 0.2.4 till 0.2.6
This procedure assumes you have installed Fink with the official binary installer. The first such installer was based on Fink 0.2.4. The procedure has three main steps:
Getting a decent apt package. Download the apt-0.5.4-4 and apt-shlibs-0.5.4-4 packages. In a Terminal.app window, go to the folder where you downloaded these files and run these commands:
source /sw/bin/init.csh sudo dpkg -i apt-shlibs_0.5.4-4_darwin-powerpc.deb sudo dpkg -i apt_0.5.4-4_darwin-powerpc.deb
(if you are using bash as your shell, source /sw/bin/init.sh instead)
Once apt is installed, use these commands to update the package listings:
rehash fink scanpackages sudo apt-get update
Updating the base packages. It's important to have the latest package management tools installed, the ones you have on your system may be outdated.
sudo apt-get install base-files gettext dpkg fink
Updating the rest of your system. You can do this either through dselect (recommended) or with this apt command:
sudo apt-get dist-upgrade
Fink 0.2.3 and older
This procedure assumes you have installed an old version of Fink (0.2.1 in most cases) as part of another package, like the MacGIMP installer or OpenOSX's GIMP installer. The procedure has four main steps:
Getting decent apt and fink packages. Download the apt-0.5.4-4 apt-shlibs-0.5.4-4 and the fink-0.10.0-1 packages. (Yes, that version number is for real. The fink command in the fink package has separate version numbering from the Fink distribution.) In a Terminal.app window, go to the folder where you downloaded the file and run these commands to install the packages:
sudo dpkg -i apt-shlibs_0.5.4-4_darwin-powerpc.deb sudo dpkg -i apt_0.5.4-4_darwin-powerpc.deb sudo dpkg -i fink_0.10.0-1_darwin-powerpc.deb
Once they are installed, use these commands to update the package listings:
rehash fink scanpackages sudo apt-get update
Updating the other base packages. It's important to have the latest package management tools installed, the ones you have on your system may be buggy or too old for the current packages.
sudo apt-get install base-files gettext dpkg
Getting X11 sorted out. Before proceeding you'll have to sort the X11 dependencies out. With MacGIMP and OpenOSX's packages, you'll have a "manual" XFree86 install (from Fink's point of view, that is), so you should install the
system-xfree86
package:sudo apt-get install system-xfree86
If the package complains that your XFree86 install is too old, you'll have to update it first, then run the above command again.
Updating the rest of your system. You can do this either through dselect (recommended) or with this apt command:
sudo apt-get dist-upgrade