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

Re: APT configuration file



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?


Honestly, I don't know.  I haven't used apt-get since aptitude was
recommended over it some time ago.

'locate default |grep aptitude' does show default files for aptitude, but I don't see any for apt-get.

A quick look at the apt-get man page shows some of the defaults.
'man apt-get |grep default'

If you really want to know you can get the source for apt-config and figure it out from that.


Waybe


Reply to: