Code: Select all
Package: *
Pin: release a=stable
Pin-Priority: 500
Package: *
Pin: release l=Debian-Security
Pin-Priority: 1000
Package: *
Pin: release a=testing
Pin-Priority: 100
Code: Select all
root@mycomp:/etc/ssh# apt-cache policy openssh-client
openssh-client:
Installed: 1:6.7p1-5+deb8u3
Candidate: 1:6.7p1-5+deb8u3
Version table:
1:7.4p1-10 0
100 http://deb.debian.org/debian/ testing/main amd64 Packages
100 http://mirror.cc.columbia.edu/debian/ testing/main amd64 Packages
*** 1:6.7p1-5+deb8u3 0
500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
1000 http://security.debian.org/ jessie/updates/main amd64 Packages
1000 http://security.debian.org/ stable/updates/main amd64 Packages
500 http://deb.debian.org/debian/ stable/main amd64 Packages
500 http://mirror.cc.columbia.edu/debian/ stable/main amd64 Packages
100 /var/lib/dpkg/status
Code: Select all
root@mycomp:/etc/ssh# apt-get install -t testing openssh-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 520 not upgraded.
Further, if I hard-code a pin just for openssh-client:
Code: Select all
Package: openssh-client
Pin: release a=testing
Pin-Priority: 700
Package: *
Pin: release a=stable
Pin-Priority: 500
Package: *
Pin: release l=Debian-Security
Pin-Priority: 1000
Package: *
Pin: release a=testing
Pin-Priority: 100
Code: Select all
root@mycomp:/etc/ssh# apt-cache policy openssh-client
openssh-client:
Installed: 1:6.7p1-5+deb8u3
Candidate: 1:6.7p1-5+deb8u3
Package pin: 1:7.4p1-10
Version table:
1:7.4p1-10 700
100 http://deb.debian.org/debian/ testing/main amd64 Packages
100 http://mirror.cc.columbia.edu/debian/ testing/main amd64 Packages
*** 1:6.7p1-5+deb8u3 700
500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
1000 http://security.debian.org/ jessie/updates/main amd64 Packages
1000 http://security.debian.org/ stable/updates/main amd64 Packages
500 http://deb.debian.org/debian/ stable/main amd64 Packages
500 http://mirror.cc.columbia.edu/debian/ stable/main amd64 Packages
100 /var/lib/dpkg/status
Code: Select all
root@mycomp:/etc/ssh# apt-get install openssh-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
root@mycomp:/etc/ssh# apt-get install -t testing openssh-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 520 not upgraded.