Repository Management
Learn about the layout of the Debian repository and the different files a repository contains.
We'll cover the following...
Paths to repositories
Debian machines pull packages from repositories. The paths to repositories
are configured in the file /etc/apt/source.list/
or /etc/apt/sources.list.d/*.list
,
in the format:
deb <URL> <DISTRIBUTION> [<COMPONENT>]+
deb-src <URL> <DISTRIBUTION> [<COMPONENT>]+
For example:
deb http://ftp.debian.org/debian bullseye main contrib non-free
The above line specifies that for a binary package (deb-src
would be for source packages), the repository root URL is http://ftp.debian.org/debian
for the distribution bullseye
, which configures the use of the ...