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

Re: i think I switched to Etch without knowing it



Marty wrote:

Colin Ingram wrote:

On a side note: I installed sarge fresh a couple of months ago and I didn't have a /etc/apt/apt.conf file or /etc/apt/preferences. I created both by hand.



This is all very mysterious to me, all these people lacking an apt.conf file. I wonder how apt can function without it? In particular, how do you specify
your Debian version?!

Here's an exerpt from "man apt.conf":

APT.CONF(5) APT.CONF(5)

NAME
apt.conf - Configuration file for APT

DESCRIPTION
apt.conf is the main configuration file for the APT suite of tools, all
tools make use of the configuration file and a common command line
parser to provide a uniform environment. When an APT tool starts up it
will read the configuration specified by the APT_CONFIG environment
variable (if any) and then read the files in Dir::Etc::Parts then read
the main configuration file specified by Dir::Etc::main then finally
apply the command line options to override the configuration direc-
tives, possibly loading even more config files.


Apt can fonction without it. Unless you have specific network settings (like access through proxy) then you don't need it. Either its an empty file either it's not there. If you use testing it might be there of not depending of the moment of your upgrade.




Reply to: