Re: APT configuration file
On Thursday 23 July 2009 13:30:08 Rustam wrote:
> On Thu, 2009-07-23 at 06:37 -0500, Kc9EYE wrote:
> > On Thu, Jul 23, 2009 at 12:28 AM, Cameron Hutchison<lists@xdna.net> wrote:
> > > Just create it with the line you want. No other contents are needed.
> > >
> > > The man page for apt.conf(5) describes the syntax of the file and the
> > > configuration parameters used by apt.
> >
> > Thanks for the quick replies. Yes I will copy the apt.conf from the
> > examples and modify that, but this doesn't answer the question that
> > there is no /etc/apt/apt.conf configuration file and yet apt-config
> > dumps configuration data to the screen that it has read from
> > somewhere. Where is this "default" configuration data being read from?
> > This is an up to date Lenny install upgraded directly from etch. Apt
> > has not been manually configured, so this is the default configuration
> > that apt was installed with. What is the name of the file that
> > apt-config reads when there is no /etc/apt/apt.conf file?
>
> IMO, it reads all config files in /etc/apt/apt.conf.d/
> plus apt.conf if exists
On my Lenny system apt-config dumps far, far more than is in all the files
in /etc/apt/apt.conf.d/ put together, and there is no apt.conf file; yet
apt-config must be reading from somewhere. In my case too I have an
untouched Apt on a fresh install, tho' it actually is a fresh install - from
the net.
Lisi
Reply to: