]>
Commit | Line | Data |
---|---|---|
7391b4cf DM |
1 | Debian Package Repositories |
2 | --------------------------- | |
3 | ||
4 | All Debian based systems use APT_ as package | |
5 | management tool. The list of repositories is defined in | |
6 | ``/etc/apt/sources.list`` and ``.list`` files found inside | |
7 | ``/etc/apt/sources.d/``. Updates can be installed directly using | |
8 | the ``apt`` command line tool, or via the GUI. | |
9 | ||
10 | APT_ ``sources.list`` files list one package repository per line, with | |
11 | the most preferred source listed first. Empty lines are ignored, and a | |
12 | ``#`` character anywhere on a line marks the remainder of that line as a | |
13 | comment. The information available from the configured sources is | |
14 | acquired by ``apt update``. | |
15 | ||
16 | .. code-block:: sources.list | |
17 | :caption: File: ``/etc/apt/sources.list`` | |
18 | ||
19 | deb http://ftp.debian.org/debian buster main contrib | |
20 | deb http://ftp.debian.org/debian buster-updates main contrib | |
21 | ||
22 | # security updates | |
23 | deb http://security.debian.org/debian-security buster/updates main contrib | |
24 | ||
25 | ||
26 | .. FIXME for 7.0: change security update suite to bullseye-security | |
27 | ||
28 | In addition, Proxmox provides three different package repositories for | |
29 | the backup server binaries. | |
30 | ||
31 | `Proxmox Backup`_ Enterprise Repository | |
32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
33 | ||
34 | This is the default, stable and recommended repository, available for | |
35 | all `Proxmox Backup`_ subscription users. It contains the most stable packages, | |
36 | and is suitable for production use. The ``pbs-enterprise`` repository is | |
37 | enabled by default: | |
38 | ||
39 | .. code-block:: sources.list | |
40 | :caption: File: ``/etc/apt/sources.list.d/pbs-enterprise.list`` | |
41 | ||
42 | deb https://enterprise.proxmox.com/debian/pbs buster pbs-enterprise | |
43 | ||
44 | ||
45 | As soon as updates are available, the superuser (``root@pam`` user) is | |
46 | notified via email about the available new packages. On the GUI, the | |
47 | change-log of each package can be viewed (if available), showing all | |
48 | details of the update. So you will never miss important security | |
49 | fixes. | |
50 | ||
51 | Please note that you need a valid subscription key to access this | |
52 | repository. We offer different support levels, and you can find further | |
53 | details at https://www.proxmox.com/en/proxmox-backup/pricing. | |
54 | ||
55 | .. note:: You can disable this repository by commenting out the above | |
56 | line using a `#` (at the start of the line). This prevents error | |
57 | messages if you do not have a subscription key. Please configure the | |
58 | ``pbs-no-subscription`` repository in that case. | |
59 | ||
60 | ||
61 | `Proxmox Backup`_ No-Subscription Repository | |
62 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
63 | ||
64 | As the name suggests, you do not need a subscription key to access | |
65 | this repository. It can be used for testing and non-production | |
66 | use. Its not recommended to run on production servers, as these | |
67 | packages are not always heavily tested and validated. | |
68 | ||
69 | We recommend to configure this repository in ``/etc/apt/sources.list``. | |
70 | ||
71 | .. code-block:: sources.list | |
72 | :caption: File: ``/etc/apt/sources.list`` | |
73 | ||
74 | deb http://ftp.debian.org/debian buster main contrib | |
75 | deb http://ftp.debian.org/debian buster-updates main contrib | |
76 | ||
77 | # PBS pbs-no-subscription repository provided by proxmox.com, | |
78 | # NOT recommended for production use | |
79 | deb http://download.proxmox.com/debian/bps buster pbs-no-subscription | |
80 | ||
81 | # security updates | |
82 | deb http://security.debian.org/debian-security buster/updates main contrib | |
83 | ||
84 | ||
85 | `Proxmox Backup`_ Test Repository | |
86 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
87 | ||
88 | Finally, there is a repository called ``pbstest``. This one contains the | |
89 | latest packages and is heavily used by developers to test new | |
90 | features. | |
91 | ||
92 | .. warning:: the ``pbstest`` repository should (as the name implies) | |
93 | only be used for testing new features or bug fixes. | |
94 | ||
95 | As usual, you can configure this using ``/etc/apt/sources.list`` by | |
96 | adding the following line: | |
97 | ||
98 | .. code-block:: sources.list | |
99 | :caption: sources.list entry for ``pbstest`` | |
100 | ||
101 | deb http://download.proxmox.com/debian/bps buster pbstest | |
102 |