On Sun, 16 Oct 2011 17:12:43 +0300 Eugene V. Lyubimkin wrote:

[...]
> On 2011-10-16 12:35, Francesco Poli wrote:
> > Hi Eugene!   :-)
> > 
> > I can change the default Pin-Priority that apt-listbugs uses to prevent
> > the installation of any version of a package from -40 to -20000 , if
> > this can work for most cases with Cupt...
> > For Apt/Aptitude, any negative Pin-Priority is equivalent: the
> > apt_preferences(5) man page says that any P < 0 will prevent the
> > version from being installed.
> 
> That would be a nice workaround to do for the short future. As for
> exact default value of the number, for the APT the result is explicit
> version exclusion from the selection process, I'd suggest place ever
> lesser value, like -100000. Still it will work only for the absolute
> majority of cases in Cupt, not all.

I still have to carefully read the rest of the your reply, but, first,
I have to ask a question about this workaround: I am considering using
a Pin-Priority of -30000 (which has the advantage of being
representable as a 16-bit signed integer, just in case some tool is
going to read it using such a small data type...).

Do you think it can be sufficiently low?


P.S.: yes, I know, maybe it would be better, if I converted this
hard-coded value into a configuration setting, but I am convinced
(probably out of laziness!) that it would be an overkill...   ;-)

-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpud7yY0HW6T.pgp
Description: PGP signature

Reply via email to