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

Re: smooth upgrades



On Fri, Dec 22, 2006 at 04:05:31PM -0500, Greg Folkert wrote:
> On Thu, 2006-12-21 at 22:48 +0200, Andrei Popescu wrote:
> > On Thu, Dec 21, 2006 at 03:04:46PM -0500, Greg Folkert wrote:
> > > You should take a look at my sources.list
> > > 
> > > http://www.gregfolkert.net/files/sources.list
> > 
> > [qoute from above link]
> > # COMMENTS:
> > # Do not forget to put in /etc/apt/apt.conf
> > # 
> > #   APT::Default-Release "<version>";
> > #   APT::Cache-Limit 18000000;
> > #
> > # Else you'll never be able to parse all of these 
> > # 
> > # version can be: woody, sarge, etch, sid,
> > #                 oldstable, stable, testing,
> > #                 unstable or experimental
> > # 
> > [/qoute]
> > 
> > The APT-HOWTO doesn't mention code-names for the 'Default-Release'
> > option and my experiments suggest they don't work at all.
> 
> Hmm, unless you have the the sources labeled as them...
> 
> IOW like this:
> 
> ## Old Stable - Debian (currently Woody)
> #deb http://ftp.us.debian.org/debian woody main contrib non-free
> #deb-src http://ftp.us.debian.org/debian woody main contrib non-free
> 
> ## Stable - Debian (currently Sarge)
> #deb http://ftp.us.debian.org/debian sarge main contrib non-free
> #deb-src http://ftp.us.debian.org/debian sarge main contrib non-free
> 
> ## Testing - Debian (currently Etch)
> #deb http://ftp.us.debian.org/debian etch main contrib non-free
> #deb-src http://ftp.us.debian.org/debian etch main contrib non-free
> 
> ## Unstable - Debian (always SID, or Still In Developement)
> #deb http://ftp.us.debian.org/debian sid main contrib non-free
> #deb-src http://ftp.us.debian.org/debian sid main contrib non-free
> 
> Then they do work. And I just tested it here on the very machine I am
> typing from... and it does work with the release labels. Perhaps I
> should make a second sources.list this way. To remove any confusion.

How did you test? I used 'apt-cache policy' after each change. When I
used codenames it was like the entry never existed.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)



Reply to: