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

Re: Rejig apt Config Now That Woody = stable ?



Hi,

On Wed, Jul 31, 2002 at 03:13:59AM +0100, Nick wrote:
> I've been running Woody-testing for a while, so now that Woody is
> released do I need to amend my apt config files to take account of the
> fact that Woody = stable and Sarge = testing ?

It depends on configuration.

> I've been using the "pinning" method to ensure I get updates from
> testing unless I specify unstable, so I currently have :
> 
> =========================< cut >===========================
> MYBOX:/etc/apt# cat sources.list
> [...]
> deb http://ftp.uk.debian.org/debian/ testing main
> deb http://ftp.uk.debian.org/debian/ unstable main
> deb http://ftp.uk.debian.org/debian-non-US/ testing/non-US main
> non-free
> deb http://ftp.uk.debian.org/debian-non-US/ unstable/non-US main
> non-free
> 
> deb http://security.debian.org/ stable/updates main contrib non-free
> 
> MYBOX:/etc/apt# cat preferences
> Package: *
> Pin: release a=testing
> Pin-Priority: 900
> 
> Package: *
> Pin: release a=unstable
> Pin-Priority: 50
> =========================< cut >===========================
> 
> Presumably, with these config settings a straight apt-get will now get
> me packages from Sarge ..

Yes.

> I've seen a post from Vineet Kumar on 3.Jul.2002 at
> http://lists.debian.org/debian-user/2002/debian-user-200207/msg00346.html
> which suggests you can use the release codenames instead of
> descriptive names in the config files - i.e.

Depend on config file.

>   use "woody" instead of "stable"
>   use "sarge" instead of "testing"
>   use "sid"   instead of "unstable"
> 
> So, e.g. in "sources.list" :
>   deb http://ftp.uk.debian.org/debian/ woody main
> instead of
>   deb http://ftp.uk.debian.org/debian/ testing main

Yes.

> Is this true ?
> Is it the Right Thing To Do ?

If you want to track potato, please.  If you are tracking woody or
sarge, no.

At least /etc/apt/preferences must use testing/stable/unstable.
So there may be an issue.  (I wish preference accepts codename but it
does not.)

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
 Osamu Aoki @ Cupertino CA USA
 See "User's Guide":     http://www.debian.org/doc/manuals/users-guide/
 See "Debian reference": http://www.debian.org/doc/manuals/debian-reference/
 "Debian reference" Project at: http://qref.sf.net

 I welcome your constructive criticisms and corrections.



Reply to: