On Wed, Sep 23, 2009 at 04:55:20PM +0300, Eugene V. Lyubimkin wrote: > Julian Andres Klode wrote: > > Package: cupt > > Version: 1.0.0~beta1 > > Severity: important > > > > Hi, cupt fails to parse the following preferences file, > > rendering the package unusable for me. > > > > Package: ndisgtk > > Pin: release unstable > > Pin-Priority: 100 > > > This is wrong-syntaxed file. This right syntax for the second line is: > > 'Pin: release a=unstable'
Not really, see the apt_preferences manual page: Package: * Pin: release unstable Pin-Priority: 50 or even: the Version: line names the release version. For example, the packages in the tree might belong to Debian GNU/Linux release version 3.0. Note that there is normally no version number for the testing and unstable distributions because they have not been released yet. Specifying this in the APT preferences file would require one of the following lines. Pin: release v=3.0 Pin: release a=stable, v=3.0 Pin: release 3.0 But I guess we may want to deprecate this in apt, so alternative implementations don't need to implement it (same for the #clear #include in the configuration files). -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
signature.asc
Description: Digital signature