I'm confused what the value of column 3 ("suite" or "release" or "distribution") is supposed to be in Ubuntu's /etc/apt/sources.list
.
From man sources.list
(edited for relevance):
The format for two one-line-style entries using the deb and deb-src types is:
deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]
deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]suite can specify an exact path, in which case the components must be omitted and suite must end with a slash...If suite does not specify an exact path, at least one component must be present.
suite may also contain a variable, $(ARCH) which expands to the Debian architecture (such as amd64 or armel) used on the system.
From https://wiki.debian.org/SourcesList (where column 3 seems to be called the "distribution"):
The 'distribution' can be either the release code name / alias ( stretch, buster, bullseye, bookworm, sid) or the release class (oldoldstable, oldstable, stable, testing, unstable) respectively. If you mean to be tracking a release class then use the class name.
From https://help.ubuntu.com/community/Repositories/CommandLine (edited for relevance):
Typically.../etc/apt/sources.list looks like this:
deb http://ch.archive.ubuntu.com/ubuntu/ saucy main restricted deb-src http://ch.archive.ubuntu.com/ubuntu/ saucy main restricted
...
saucy is the release name or version of your distribution.
...
For other Ubuntu releases you would replace the 'saucy' with the current version you have installed ('precise', 'quantal', 'raring', 'saucy', 'trusty', ...) Type lsb_release -sc to find out your release.
According to lsb_release -sc
, my suite/release/distribution is "jammy":
$ lsb_release -sc
jammy
$
My question is: given that my suite/release/distribution is "jammy", which is apparently be the value that should be used in column 3, why do some entries in /etc/apt.sources.list
file have column 3 values of jammy-security
, jammy-updates
and jammy-backports
?
$ cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://archive.ubuntu.com/ubuntu/ jammy universe
deb http://archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted
deb http://security.ubuntu.com/ubuntu/ jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security universe
deb http://security.ubuntu.com/ubuntu/ jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security multiverse
The column 3 values in my sources.list
do not appear to be an exact path, nor do they have a variable, and does not appear to be a release class, so I think those respective sections from man sources.list
and the Debian wiki do not apply. But I don't see any description on the suite/release/distribution "suffixes" (for my lack of knowing the correct thing to call it) like "-updates", "-security", or "-backports".
If related: please explain if the terms "suite," "distribution," and "release" are used interchangeably in this context, or if there's a meaningful difference between them. From the answers to this question, I thought I'd reached the understanding that "distribution" meant Ubuntu vs. Debian vs. Fedora, etc., so its use in this context (specifically, the Debian wiki) has clouded the understanding I thought I'd reached.