Bug#211802: APT::Default-Release is ignored
Package: apt
Version: 0.5.4
Hello
I'm using woody. But sometimes I want to install a package which is not
available for woody, I've added sarge and sid sources to my sources.list
an created an apt.conf containing this line:
APT::Default-Release "woody"
When I tried to upgrade my system apt wants to upgrade more than 200
packages. My system had been upgraded about five minutes ago so thought
this cannot be OK and abroted.
After a some googleing I recognized that everyone uses "stable" or
"testing" insted of "woody", "potato", "sarge". So I tried "stable" and
it works.
Why does "woody" not work there? Using woody insted of stable works
everywhere else.
I also tried
APT::Default-Release "nonexistent"
and the same happens.
I think apt should output at least an error message if someone enters an
wrong Release.
At last: IMO woody is <> stable because if sarge will be realeased,
stable will point to sarge and all systems will be updated. So saying
using "stable" as Default-Realease is not an satisfying solution.
Bye bye
Anton
Reply to: