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

Re: question for sources.list





Hendrik Boom wrote:
On Fri, Sep 02, 2005 at 11:58:20AM -0700, Andrew Sackville-West wrote:

yes you need to put

deb http://ftp...../debian/ stable main...
deb-src http://,,,,/debian/ stable main ...

sources.list tells apt where to find the packages.

but you also need to edit /etc/apt/apt.conf


My sarge doesn't have an /etc/apt/apt.conf file.
Instead, it has an /etc/apt/apt.conf.d dirextory.

man apt.conf

its the configuration for apt and can set all kinds of preferences for apt. the APT::DefaultRelease "sarge"; line forces apt to stay within the release "sarge" without you specifying on your apt-get install <package> line. you can set all kinds of things in apt.conf including the size of the cache, whether to pin a package at a certain release and so forth.

A

-- hendrik





Reply to: