Re: exceptions dans /etc/apt/preferences
On Tue, Dec 24, 2002 at 09:32:23 +0100, Denis Barbier wrote:
> Oui, il doit donc s'agir de cela :
>
> Records can have one of two forms:
>
> · The first form pins a priority (a "Pin-Priority") to a
> named package version. For example, the following
> record pins a high priority to all versions of the perl
> package whose version name begins with "5.8":
>
> Package: perl
> Pin: version 5.8*
> Pin-Priority: 1001
>
> · The second form pins a priority to all of the package
> versions in a given release (that is, to all the ver-
> sions of packages that are listed in a Release file), or
> to all of the package instances coming from a particular
> Internet site.
>
> Ici 50 et 900 correspondent à ces 2 formes.
OK, mais il s'agit d'une différence au niveau du fichier preferences.
Un "apt-cache policy" ne devrait donner qu'une seule priorité par
source. Il est dit:
If one of the records of the first form described above
matches an available package instance, then that record
determines the priority of the instance. If two records
of the first form match an available instance, then the
first record encountered determines the priority. If two
records of the second form match an available instance,
then the first record encountered determines the priority.
Mais ça ne dit pas ce qui se passe quand on a à la fois la première
forme et la seconde forme.
--
Vincent Lefèvre <vincent@vinc17.org> - 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
Reply to: