On Sun, Jan 12, 2003 at 15:57:04 +0000, Faheem Mitha wrote:
> If you want a particular version not to be installed, then give it a
> Pin lower than 100 and it will never be installed if there is another
> installable version in your sources.

This is what the manual says, but this doesn't work.

I have:

Package: *
Pin: release a=stable
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 900

Package: *
Pin: release a=unstable
Pin-Priority: 200

and I tried to add either

Package: libpng2
Pin: release a=testing
Pin-Priority: 50

or

Package: libpng2
Pin: version 1.0.12-6
Pin-Priority: 50

either before or after the generic rules. In each case, the upgrade
to version 1.0.12-6 (current testing) is proposed by apt-get upgrade.
According to another user, even a negative Pin-Priority doesn't work.
See <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=174200>.

I also get:

$ apt-cache policy libpng2
libpng2:
  Installed: 1.0.12-3.woody.3
  Candidate: 1.0.12-6
  Package Pin: 1.0.12-6
  Version Table:
     1.0.12-8 50
        200 ftp://ftp.fr.debian.org unstable/main Packages
        200 ftp://ftp.debian.org unstable/main Packages
     1.0.12-6 50
        900 ftp://ftp.fr.debian.org testing/main Packages
        900 ftp://ftp.debian.org testing/main Packages
 *** 1.0.12-3.woody.3 50
        900 http://security.debian.org stable/updates/main Packages
        100 /var/lib/dpkg/status

(Note: the unstable version can't be installed on my machine because
of dependencies.)

-- 
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to