On Mon, Dec 23, 2002 at 22:08:43 +0100, Denis Barbier wrote:
> Dans apt_preferences(1) d'apt 0.5.4:
> When deciding what version to use APT assigns a priority to each
> available version of the package. It then does two things, first
> it selects the highest priorty version that is newer than the
> installed version of the package, then it selects the highest
> priority version that is older than the installed version. Next,
> if the older versions have a priority greater than 1000 they are
> compared with the priority of the upgrade set, the larger
> becomes the selected result. Otherwise the downgrade versions
> are ignored and the highest priority of the ugprade set is
> selected.
> Le comportement que tu observes me semble conforme � ce qui est �crit.
Argh! Je croyais que si la priorit� �tait inf�rieure � 100, il n'y
avait pas d'upgrade (i.e. que c'�tait seulement une priorit� pour
installation). J'aimerais bien savoir que cela veut dire:
0 to 100
Non automatic priorities. These are only used if the
package is not installed and there is no other version
available.
> �a ne me semble pas faisable. On pourrait penser que
> Package: libpng2
> Pin: version 1.0.12-6
> Pin-Priority: -100
> fait l'affaire, mais �a n'a pas l'air de marcher.
Idem, le man dit:
less than 0
The version is never selected.
Je ne comprends rien...
--
Vincent Lef�vre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Math�matiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA