At 9:23 PM +0200 4/17/02, Max Horn wrote:
>At 11:43 Uhr -0700 17.04.2002, Ben Hines wrote:
>>At 5:54 PM +1000 4/17/02, Jeremy Higgs wrote:
>>>
>>>I'm pretty sure dpkg (or it might be apt) does this. Through dselect, at
>>>least, you can 'hold' a package, and it is simply not upgraded (version or
>>>revision) until you 'unhold' it.
>>>
>>>[ Actually... It's dpkg. Presumably something like 'dpkg --hold <package>'
>>>would do the trick... ]
>>
>>Apparently you're supposed to use dselect to hold stuff. However, 
>>it didn't work for me:
>>
>>Just as a test case, I tried it on SDL.. chose sdl 1.2.3, and hit 
>>"=". (hold). It showed held in dselect. Then did a fink update-all, 
>>and sdl 1.2.4 downloaded, and... dpkg installed it right over 
>>1.2.3. I had assumed it would build the deb and then stop.
>
>Why should it work, after all the hold command is not part of dpkg, 
>but rather of dselect/apt.


 From the dpkg manpage:

INFORMATION ABOUT PACKAGES
        dpkg maintains some usable information about available 
packages. The information is divided in three classes: states, 
selection states and flags.  These values are  intended
        to be changed mainly with dselect.
...

    PACKAGE FLAGS
        hold   A package marked to be on hold is not handled by dpkg, 
unless forced to do that with option --force-hold.

-Ben
-- 
http://homepage.mac.com/bhines/

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to