Web lists-archives.com

Package pinning on origin AND version




Hello,

I'd like to do something like this:

Package: mesos
Pin: version 1.3.*
Pin: release o=packages.le-vert.net
Pin-Priority: 1000

But sadly the last "Pin:" line overrides the previous one.


My problem here is that I'd like the version "1.3.1-1+Debian-stretch-9.1" to be the candidate one. Depending on which "Pin:" line is the latest one I get either "1.4.1-1+Debian-stretch-9.1" or "1.3.2-2.0.1".

mesos:
  Installed: 1.3.1-1+Debian-stretch-9.1
  Candidate: 1.4.1-1+Debian-stretch-9.1
  Version table:
     1.4.1-1+Debian-stretch-9.1 1000
        500 http://packages.le-vert.net/mesos/debian stretch/main amd64 Packages
     1.4.1-2.0.1 500
        500 http://repos.mesosphere.io/debian jessie/main amd64 Packages
     1.4.0-2.0.1 500
        500 http://repos.mesosphere.io/debian jessie/main amd64 Packages
     1.3.2-2.0.1 500
        500 http://repos.mesosphere.io/debian jessie/main amd64 Packages
 *** 1.3.1-1+Debian-stretch-9.1 1000
        500 http://packages.le-vert.net/mesos/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
     1.3.1-2.0.1 500
        500 http://repos.mesosphere.io/debian jessie/main amd64 Packages
     1.3.0-2+Debian-stretch-9.0 1000
        500 http://packages.le-vert.net/mesos/debian stretch/main amd64 Packages
     1.3.0-1+Debian-stretch-9.0 1000


Thanks in advance,

Adam