[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#216682: apt/preferences: need for pinning a given (set of) package per release



retite 216682 apt_preferences.5 needs clarification on the syntax
reopen 216682
thanks

On Mon, Oct 20, 2003 at 12:29:47PM -0400, Matt Zimmerman wrote:
> On Sun, Oct 19, 2003 at 03:45:34PM +0200, Yann Dirson wrote:
> 
> > Currently, as documented in the sid manpage, one can only pin a single
> > package per "version", or all packages (via "*") per "release".
> > 
> > It would be useful to pin a single package per "release" as well, since:
> > 
> > 1. one possibly does not want to bother what the package version is
> > 
> > 2. pinning a version uwing a wildcard may not be adequate, as
> > examplified by the openssh major upgrade during the potato
> > maintainance cycle
> 
> The man page does not say this; that's just what the two examples look like.
> Pinning a single package by release works fine.

(Ah, the fact I'm dealing with essential packages may have warped my
evaluation of the situation somehow)

However, it does say:

 The specific form assigns a priority (a "Pin-Priority") to a
 specified package and specified version or version range.

And:

 The general form assigns a priority to all of the package versions in
 a given distribution (that is, to all the versions of packages that
 are listed in a certain Release file) or to all of the package
 versions coming from a particular Internet site, as identified by the
 site's fully qualified domain name.


I think it could be made more clear then.

Does "specific/general" refer to the "single package name" vs. "*"
aspect of the example, or to the "version/release" keyword ?  The fact
that examples does not allow to disambiguate seems annoying to me.

The fact there is an "origin" keyword as well would advocate for the
1st alternative.  BTW, this "origin" keyword is not documented, apart
from being mentionned as existing and being different from "release
o=...".  You may want to address this as well - I don't think it's
worth openning another bugreport ;)


-- 
Yann Dirson    <ydirson@altern.org> |    Why make M$-Bill richer & richer ?
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
Pro:    <yann.dirson@fr.alcove.com> |  Freedom, Power, Stability, Gratuity
     http://ydirson.free.fr/        | Check <http://www.debian.org/>



Reply to: