Daniel Macks wrote:
> On Wed, Oct 11, 2006 at 12:03:11AM -0400, Kevin Walzer wrote:
>> I'm trying to learn a bit more about fink's command-line parameters. Is
>> there any difference between running the command
>>
>> apt-get install foo
>>
>> and
>>
>> fink -b install foo
>>
>> since fink -b will use the binary distribution? Is there anything
>> unpredictable about this that I should be aware of?
> 
> The "fink" command knows about all source-buildable packages, whereas
> apt only knows ones that are available as binaries (see Fink FAQ
> 5.7). So 'fink -b' will use the binary distribution *in additon to*
> its normal source package descriptions. And it will only use it as
> secondary data for the source package descriptions, meaning "fink -b
> update foo" will use a binary if it's available at the version fink
> wanted anyway based on source package descriptions (see "fink"
> manpage).

There is another difference that you will see if you use your own 
bindist server (or perhaps also other "unofficial unstable" bindists, 
but I have no experience with those):

"fink" makes the decision whether to update your package or not based 
only on the version-revision number. "apt-get" uses a kind of hash sum 
that includes not only the version-revision, but also the size of the 
*.deb plus the phase of the moon (the last one I am not totally sure 
about ;-)).

The net result is that apt-get happily "upgrades" your packages to the 
latest version even if the latest version is already installed. For 
example, I have a powerbook for which I do most of the package building 
on another faster machine that acts as bindist server. When I do "fink 
-b update-all", it upgrades only the really new versions. With "apt-get 
dist-upgrade", it wants to download and upgrade more than 200 packages 
that are already at their latest version. This is a long-standing bug 
which appears to be unfixable.

-- 
Martin


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to