[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get dist-upgrade doesn't downgrade to stable



On Thu, Jan 23, 2003 at 07:18:18PM -0500, Lloyd Zusman wrote:
> Osamu Aoki <osamu@debian.org> writes:
> 
> > On Thu, Jan 23, 2003 at 06:57:53AM -0500, Lloyd Zusman wrote:
> >> 
> >> [ ... ]
> >>
> >> Is it also true that setting /etc/apt/apt.conf to contain
> >> `APT::Default-Release "testing";' also sets "testing" to 990?
> >
> > Yes, that is my understanding. man apt_preferences
> >
> >        100 to 1000
> >               Standard  priorities.  990  is  the  priority  set by the
> >               --target-release  apt-get(8) option. 
> 
> Yes ... I read that, too.  But it doesn't say anything specifically
> about the `APT::Default-Release "testing";' in apt.conf, and I have
> learned the hard way not to make assumptions about the way that various
> settings in various places interract with one another in the 'apt'
> system.
> 
> But using the empirical method, I have determined (I think!) that
> `APT::Default-Release' does indeed seem to correspond to the same
> numerical priority as the --target-release option.

I learned this in this list but reading manual page of apt-get (8)
...
 --default-release
   This  option controls the default input to the policy engine, it
   creates a default  pin  at  priority  990  using  the  specified
   release  string.  The preferences file may further override this
   setting. In short, this option lets you have simple control over
   which  distribution packages will be retrieved from. Some common
   examples might be -t '2.1*' or -t unstable.  Configuration Item:
   APT::Default-Release

This is where it is documented.  Tricky :-)
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki <osamu@debian.org>   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract



Reply to: