DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Occasionaly when I am reading the APT How-To I run across things that I don't understand. Usually this should require little feedback from the more experienced members, but it is of great help to me and other readers. Hopefully we can clear some things up; I might bump this thread with questions from time to time.
A first question refers to terminology. There are references to Debian versions, and references to distributions. Then there are branches. One crosses these repeatedly. For example, in section 3.8: "People are sometimes interested in using one of the Debian versions as its main system distribution and one or more packages from another branch."
Is it correct that the versions are the "releases," i.e., Potato, Slinky, Woody, Sarge or even the permanent Sid?
Now in normal Linux terminology, distributions are Debian, SUSE, Redhat, Gentoo, etc. Here it is clear that a different sense is meant, but unclear what that is.
I don't know, so: What is a branch?
As you might imagine, I got the idea for this thread while puzzling over a given context. That context is naturally the same as the above citation, section 3.8, about the mixed system. There it refers to the file:
/etc/apt/apt.conf
I don't have this file on my system. Here's what I do have:
Originally posted by michapma
[B]Occasionaly when I am reading the APT How-To I run across things that I don't understand. Usually this should require little feedback from the more experienced members, but it is of great help to me and other readers. Hopefully we can clear some things up; I might bump this thread with questions from time to time.
A first question refers to terminology. There are references to Debian versions, and references to distributions. Then there are branches. One crosses these repeatedly. For example, in section 3.8: "People are sometimes interested in using one of the Debian versions as its main system distribution and one or more packages from another branch."
Is it correct that the versions are the "releases," i.e., Potato, Slinky, Woody, Sarge or even the permanent Sid?
Well the first three would be releases Sarge has yet to be released and SID never will be, these I think would be the branches that are mentioned it gets a little confusing because they use the terms sometimes to mean the same thing in the docs.
Quote:
Now in normal Linux terminology, distributions are Debian, SUSE, Redhat, Gentoo, etc. Here it is clear that a different sense is meant, but unclear what that is.
I believe this would be in reference too Potato, Slink, Woody having been released and distributed.
Quote:
I don't know, so: What is a branch?
This I am pretty sure means the different versions you can be running being referred to as a branch eg. you run the woody, sarge or sid branches but it is a little confusing, this is how I usually refer to them as though.
Quote:
As you might imagine, I got the idea for this thread while puzzling over a given context. That context is naturally the same as the above citation, section 3.8, about the mixed system. There it refers to the file:
/etc/apt/apt.conf
I don't have this file on my system. Here's what I do have:
Can I simply create an apt.conf and things will go fine?
Now this I am positive on you simply create the file and it is used by the system and at the same time you would most likely want an /etc/apt/preferences file as well to tell the system where you want the packages coming from with the highest priority branch/package(s) (you can use either in an and/or use eg. both at the same time in the file or only one method at a time) being the one chosen by the system for install.
Quote:
This will help me run the occasional package from Sid.
This is apt pinning and what the preferences file is used for.
HappyTux,
Thanks very much on the confirmation on apt.conf and preferences. I'll apply it as per your advice in my current sound thread.
I'm still not clear on the terms version, distribution and branch, but your response does help me see that there is some equivalence in the way they are used in this instance. They all seem to be referring more or less to the same kind of thing. I'll keep my eyes out as I read the docs and see if I can work it out more specifically. That particular sentence did throw me though.
"Now in normal Linux terminology, distributions are Debian, SUSE, Redhat, Gentoo, etc. Here it is clear that a different sense is meant, but unclear what that is."
Don't know what kept me from seeing this earlier, but it is easy to gather from the text what a version is:
Quote:
APT::Default-Release "version";
Where version is the version of Debian you want to use as the main distribution. The versions you can use are stable, testing and unstable.
Then, they use an equivalence between version and distribution, but then throw in the very confusing "version of the distribution."
Quote:
...the `unstable' version of Debian is the version to which the newest versions of Debian packages are uploaded first. This distribution sees all of the changes that packages go through, both small ones and more drastic ones which affect many packages or the whole system. For this reason, this version of the distribution should not be used by inexperienced users or by those who need proven stability.
In my opinion it would be much clearer to avoid using version as a term and stick to something like branch or distribution.
So I more or less agree with branch = distribution = version, but I believe they refer to stable, testing and unstable, rather than Woody, Potato, etc. Weird to use three terms for the same thing and then say "version of the version.
Originally posted by michapma
Then, they use an equivalence between version and distribution, but then throw in the very confusing "version of the distribution."
That refers too in the case of Woody for instance version of the released distribution eg. 3.0r1, 3.0r2 and now 3.0r3 is in the planning stages I just seen a mail this morning for it, damn confusing indeed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.