Installation - 4 Upgrading From Fink 0.2.x
If you already have Fink 0.2.x installed, you can update your installation to 0.9.0 with this package.
Actually, there are two pieces that are updated independently: the package manager and the package descriptions. It is recommended to update the package manager first.
4.1 Updating The Package Manager
To update the package manager, run the inject.pl script in the fink-0.9.0-full directory, like this:
./inject.pl
It will try to locate your Fink installation automatically. If it can't find it, you can pass the path as a parameter, like this:
./inject.pl /sw
The script copies the package descriptions into the appropriate
directory, creates tarballs in /sw/src and then runs fink to install
the new versions of the fink and base-files packages.
(Yes, that means that fink updates itself. :-) )
4.2 Updating The Package Descriptions
If you downloaded the fink-0.9.0-full tarball, the package descriptions are in the subdirectory pkginfo. To install them, run the inject.pl script in that directory:
cd pkginfo ./inject.pl
This inject.pl script works just like the one for the package manager.
You can also grab the package descriptions as a separate tarball, packages-0.9.0. If you did that, just unpack it and run the inject.pl script inside.
As a third alternative, you can have Fink automatically update itself to the latest set of package descriptions by issuing the following command:
fink selfupdate
4.3 Getting X11 Sorted Out
The first thing you should do after updating the package descriptions is getting the X11 dependencies settled (unless you already did that after upgrading to 0.2.3). Refer to the "Getting X11 Sorted Out" section under "First Time Installation" above.
4.4 Updating Packages
The above updating steps will not update the actual packages, they only provide you with the means to do so. The easiest way to get the new packages is to use the 'update-all' command:
fink update-all
This will bring all installed packages to the latest version. If you don't want to do this (it may take some time), you can update individual packages with the 'update' command.
4.5 Other Notes
IMPORTANT! When you update from Fink 0.2.0 or a CVS version before 0.2.1, the first thing you should do after running the inject.pl scripts is this:
fink update dpkg
There was a bug in dpkg that could lead to partially extracted packages. If you had unusual trouble with installed packages, especially missing symlinks, use 'fink reinstall' on them to re-install the .deb package files.