Re: [Fink-devel] holding back package upgrade (was: Calling mozilla)

2002-04-17 Thread Kilian Koepsell

hi,

 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.

i used to use the feature under debian and i think the problem is the
following:
putting a package on hold prevents it to be upgraded when you do an
  apt-get upgrade
but it will still be upgraded if you do expicitely
  apt-get install packagename

anyway, you really need something in fink instead of dpkg if you want
prevent fink from recompiling the package.

cheers,
  kilian


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



Re: [Fink-devel] holding back package upgrade (was: Calling mozilla)

2002-04-17 Thread Ben Hines

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