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

Re: i think I switched to Etch without knowing it



Colin Ingram wrote:
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?!

Apt uses its default behavior if you don't have an apt.conf file. As for version this default behavior is to update to the newest version available.

It seems like you are referring to package version.  I was referring to
Debian version, e.g. sarge, etch, stable, 3.1a0, etc.

 (see man apt_preferences) So if you don't have an apt.conf
file and you don't have a preferences file and you have multiple versions specified in your sources.list then you will install/upgrade from/to sid. (or the most recent version specified in sources.list) On the other hand if you only specify one release in your sources.list file (i.e. stable) then apt will install/upgrade from/to stable because those will be the newest (and only) packages it knows about.

So what you are saying is consistent with the others -- apt does not "know"
or "care about" the "Debian version."  I knew this to be true with dpkg,
but not apt.


In a nut shell you can control your "version" with the apt.conf/preferences files or by only downloading a package list from a single release.

Once again it seems you are referring to package version here, unless I'm
missing something.



Reply to: