Bug#901918: apt: Pinning in /etc/apt/preferences ignored
On Wed, Jun 20, 2018 at 11:41:47AM +0200, Johannes Rohr wrote:
> Package: apt
> Version: 1.6.1
> Severity: important
>
> I am trying to downgrade unstable to testing, yet my apt pinning is ignored.
>
> According to /etc/apt/preferences (see below), testing should get 1001 and unstable 60,
>
> yet what I see is this:
>
>
> xserver-xorg-core:
> Installiert: 2:1.20.0-2
> Installationskandidat: 2:1.20.0-2
> Versionstabelle:
> *** 2:1.20.0-2 500
> 500 http://deb.debian.org/debian unstable/main amd64 Packages
> 100 /var/lib/dpkg/status
> 2:1.19.6-1 500
> 500 http://deb.debian.org/debian testing/main amd64 Packages
>
> Therefore I don't get to downgrade.
What does apt-cache policy (without arguments) tell you?
> deb [arch=amd64] http://repo.yandex.ru/yandex-browser/deb beta main
>
> -- System Information:
> Debian Release: buster/sid
> APT prefers testing
> APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable')
This policy says something different than your preferences file too
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
Reply to: