Re: Bug#175121: apt-get does not honour Default-Release or Pin-Priority
On Fri, 3 Jan 2003, Steven Homolya wrote:
> apt-get sometimes ignores:
> APT::Default-Release "stable";
> in /etc/apt/apt.conf and installs from testing or unstable.
If you read the apt_preferences man page carefully you will find that this
is the documented behavior. If a particular package is already installed
with a version higher than the default-release then the latest version of
that package is always used, unless you further change things using the
> 14 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> 15 packages not fully installed or removed.
The snippet you posted certainly works, but there are lots of factors that
can correctly ccause the output you quoted.
You need to investigate using the apt-cache policy feature and the -s
option to apt-get.