Here's what's wrong with the approach you took:

1) Modifying sources.list does nothing: the line you commented out just makes the packages from the unstable tree that you have built yourself known as a source to apt.

2) The order of the Trees: line in fink.conf also does nothing for you: the highest-numbered version is always what is selected. The order only matters when you have two packages with the same version and revision in different branches (stable vs unstable).

If you really want to install the minimum number of unstable packages, consult the FAQ:

http://fink.sourceforge.net/faq/usage-fink.php#unstable

The last paragraph of that section is what you want.
--
Alexander K. Hansen
Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX

On Jan 12, 2004, at 1:07 PM, [EMAIL PROTECTED] wrote:

Hello All;

I'm having trouble configuring fink to install packages from the
distributions as I would like.  I would like packages installed
from stable unless there is no stable version and then install
the unstable version.  Plus I would like to be able to install
various unstable packages that have stable versions by specifying
the fully qualified package name.

I have a 10.3.2 MacOS-X system (panther will all the apple updates).

I downloaded the fink disk image last night, did a selfupdate,
and installed a bunch of packages with the default fink.conf
and sources.list files using the stable tree.  Then I discovered
that a package I want to download (nmh) is only in the unstable
tree.  I tried

fink install nmh-1.0.4-1

and it failed because it could not find the package.  I suspected
that because I did not have configuration files set up properly.
So I edited fink.conf and changed 'Trees' to be:

Trees: local/main stable/main stable/crypto unstable/main unstable/crypto local/bootstrap

and I uncommented out the line in sources.list:

def file:/sw/fink unstable main crypto


_BEFORE_ I did the above changes I verified that


fink update-all

believed everything was up to date with respect to stable

_AFTER_ I did the above changes I re-ran the update-all
and fink believed there were many packages to update.  I checked
on a couple of them and basically they had both stable and unstable
versions but the unstable version was newer.

So basically, I think I got the opposite behaviour than I wanted.
I'm going to try to change the order of the items in 'Trees' to:

Trees: local/main unstable/main unstable/crypto stable/main stable/crypto local/bootstrap

to see if reversing the order makes stable packages have precedence
over unstable.

But I would appreciate any and all help here.  I'm kind of stuck
but I do want to keep my powerbook based on the stable tree since
I need to use it for work.

Please email suggestions, help, "the solution", ... :-)

Regards,
dcj






------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to