On 6/7/06, Stephen Cornell <[EMAIL PROTECTED]> wrote:
> I finally upgraded my OSX installation from Panther to Tiger (10.4.6)
> and I can't figure out how to update my Fink installation.  I just
> want to upgrade the packages I've installed to Tiger-compatible
> versions (via binary versions).
>
> I tried the instructions dated 2005-06-09 on http://
> fink.sourceforge.net/news/index.php?phpLang=en, namely:
>
> `Users upgrading to 10.4 can now simply issue a fink selfupdate
> command, followed by sudo /sw/lib/fink/postinstall.pl (for first-time
> updaters on 10.4), fink scanpackages and sudo apt-get update.'
>
> This didn't work, in the sense that afterwards`fink-version' reported
> 0.7.2, and `Distribution' was still flagged as 10.3 in /sw/etc/
> fink.conf.
>
> After some googling, I tried changing `10.3' to `10.4-transitional'
> in fink.conf.  `fink selfupdate' still did nothing (IIRC), so I tried
> `fink selfupdate-rsync'. Bingo!

Ah--the news page presupposed that one was using rsync or cvs
updating.  That should indeed be fixed.

Packages were downloaded, everything
> looked rosy.  After that, `sudo /sw/lib/fink/postinstall.pl', `fink
> scanpackages' and `sudo apt-get update' seem to run normally.  I then
> tried to download new packages using `sudo fink update-all'.
> However, even though I specified `use binary packages', it started
> downloading tarballs and then compiling.  My cpu has better things to
> do than compile gcc, and the planet (and my office in particular) is
> quite warm enough without all that extra entropy.
>

Binaries are only used if they correspond to the latest available
version--if there's a later version in a source distro it will be used
instead.

> I guess my problem really stems from not understanding Fink well
> enough to know what parts need tweaking to get a consistent setup (do
> I have to edit apt/sources.list as well as fink.conf?

sources.list is updated from your fink.conf settings.  You can edit it
if you add additional repositories.

 any other files
> I should know about?).  It appears I may well have such an
> inconsistency, as emacs failed to compile, with an error that
> suggested it was compiled for the wrong version of OS X (the
> suggested fix didn't work, but I decided I didn't need that emacs
> anyway).
>

We have no way of knowing what went wrong, since you didn't paste up
the actual output.

> I have an archive of my old Fink installation, and am prepared to
> start again.  So, can anyone point me to the `proper' way to update
> my fink installation?  In particular, what do I have to do to make
> fink use binary packages rather than recompiling?  I already have the
> line `UseBinaryDist: true' in fink.conf
>
> Thanks in advance,
> Stephen.
> --
> Stephen Cornell    [EMAIL PROTECTED] +44-113-3432899
> Institute of Integrative and Comparative Biology
> University of Leeds, Leeds, LS2 9JT, UK
>
>
>

You can install a particular version of a binary package via the
binary tools, e.g.

sudo apt-get install foo=1.2.3-4

to install foo-1.2.3-4.  However, if you issue a "fink update-all", it
may be supplanted by a later version.

-- 
Alexander K. Hansen
Fink Documenter (still)


_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to