Eu preciso fazer o downgrade de alguns pacotes apt, que eu já fixara em testes, tendo como padrão estável. Este é o arquivo de preferências:
Package: *
Pin: release a=stable
Pin-Priority: 1001
Package: *
Pin: release a=testing
Pin-Priority: 500
Package: *
Pin: release a=unstable
Pin-Priority: 400
Quando verifico a política de um dos pacotes atualizados, obtenho:
apt-cache policy libstdc++5
libstdc++5:
Installed: 1:3.3.6-28
Candidate: 1:3.3.6-28
Version table:
*** 1:3.3.6-28 0
500 http://mirror.hetzner.de/debian/packages/ testing/main amd64 Packages
400 http://mirror.hetzner.de/debian/packages/ unstable/main amd64 Packages
100 /var/lib/dpkg/status
1:3.3.6-27.2 0
990 http://mirror.hetzner.de/debian/packages/ stable/main amd64 Packages
990 http://cdn.debian.net/debian/ stable/main amd64 Packages
Sempre que altero as configurações para teste e instável, vejo as alterações na prioridade refletidas aqui. Porém, a prioridade para o pacote estável não mudará, o que eu tentei até agora. A ideia é definir o > 1000 para realmente executar o downgrade. Alguma dica, como realmente mudar isso?
Esta é a saída completa para apt-cache policy
:
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.7/main amd64 Packages
release n=llvm-toolchain-jessie-3.7,c=main
origin llvm.org
990 http://security.debian.org/ stable/updates/non-free amd64 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=non-free
origin security.debian.org
990 http://security.debian.org/ stable/updates/contrib amd64 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=contrib
origin security.debian.org
990 http://security.debian.org/ stable/updates/main amd64 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
origin security.debian.org
990 http://cdn.debian.net/debian/ stable/contrib amd64 Packages
release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=contrib
origin cdn.debian.net
990 http://cdn.debian.net/debian/ stable/non-free amd64 Packages
release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=non-free
origin cdn.debian.net
990 http://cdn.debian.net/debian/ stable/main amd64 Packages
release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=main
origin cdn.debian.net
990 http://mirror.hetzner.de/debian/security/ stable/updates/non-free amd64 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=non-free
origin mirror.hetzner.de
990 http://mirror.hetzner.de/debian/security/ stable/updates/contrib amd64 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=contrib
origin mirror.hetzner.de
990 http://mirror.hetzner.de/debian/security/ stable/updates/main amd64 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
origin mirror.hetzner.de
400 http://mirror.hetzner.de/debian/packages/ unstable/non-free amd64 Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=non-free
origin mirror.hetzner.de
400 http://mirror.hetzner.de/debian/packages/ unstable/contrib amd64 Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=contrib
origin mirror.hetzner.de
400 http://mirror.hetzner.de/debian/packages/ unstable/main amd64 Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=main
origin mirror.hetzner.de
500 http://mirror.hetzner.de/debian/packages/ testing/non-free amd64 Packages
release o=Debian,a=testing,n=stretch,l=Debian,c=non-free
origin mirror.hetzner.de
500 http://mirror.hetzner.de/debian/packages/ testing/contrib amd64 Packages
release o=Debian,a=testing,n=stretch,l=Debian,c=contrib
origin mirror.hetzner.de
500 http://mirror.hetzner.de/debian/packages/ testing/main amd64 Packages
release o=Debian,a=testing,n=stretch,l=Debian,c=main
origin mirror.hetzner.de
990 http://mirror.hetzner.de/debian/packages/ stable/non-free amd64 Packages
release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=non-free
origin mirror.hetzner.de
990 http://mirror.hetzner.de/debian/packages/ stable/contrib amd64 Packages
release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=contrib
origin mirror.hetzner.de
990 http://mirror.hetzner.de/debian/packages/ stable/main amd64 Packages
release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=main
origin mirror.hetzner.de
Pinned packages: