Bug#211802: APT::Default-Release is ignored
severity 211802 wishlist
merge 211802 137433
thanks
On Sat, Sep 20, 2003 at 12:28:24PM +0200, Anton Hattendorf wrote:
> 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.
All of the examples on the man page are "stable", "testing", "unstable",
"2.1*", etc, so I think it's pretty clear on this point. It works this way
because apt uses the information in the Release file, which (for woody)
looks like this:
Archive: stable
Version: 3.0r1a
Component: contrib
Origin: Debian
Label: Debian
Architecture: source
> 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.
Merging.
> 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.
Use "3.0*" if you want that.
--
- mdz
Reply to: