1 .. _sysadmin_package_repositories:
3 Debian Package Repositories
4 ---------------------------
6 All Debian based systems use APT_ as a package management tool. The lists of
7 repositories are defined in ``/etc/apt/sources.list`` and the ``.list`` files found
8 in the ``/etc/apt/sources.d/`` directory. Updates can be installed directly
9 with the ``apt`` command line tool, or via the GUI.
11 APT_ ``sources.list`` files list one package repository per line, with the most
12 preferred source listed first. Empty lines are ignored and a ``#`` character
13 anywhere on a line marks the remainder of that line as a comment. The
14 information available from the configured sources is acquired by ``apt
17 .. code-block:: sources.list
18 :caption: File: ``/etc/apt/sources.list``
20 deb http://ftp.debian.org/debian bullseye main contrib
21 deb http://ftp.debian.org/debian bullseye-updates main contrib
24 deb http://security.debian.org/debian-security bullseye-security main contrib
27 In addition, you need a package repository from Proxmox to get Proxmox Backup
30 .. image:: images/screenshots/pbs-gui-administration-apt-repos.png
32 :alt: APT Repository Management in the Web Interface
34 .. _package_repos_secure_apt:
39 The `Release` files in the repositories are signed with GnuPG. APT is using
40 these signatures to verify that all packages are from a trusted source.
42 If you install Proxmox Backup Server from an official ISO image, the
43 verification key is already installed.
45 If you install Proxmox Backup Server on top of Debian, download and install the
46 key with the following commands:
48 .. code-block:: console
50 # wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
52 Verify the SHA512 checksum afterwards with the expected output below:
54 .. code-block:: console
56 # sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
57 7fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
59 and the md5sum, with the expected output below:
61 .. code-block:: console
63 # md5sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
64 bcc35c7173e0845c0d6ad6470b70f50e /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
66 .. _sysadmin_package_repos_enterprise:
68 `Proxmox Backup`_ Enterprise Repository
69 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 This is the stable, recommended repository. It is available for
72 all `Proxmox Backup`_ subscription users. It contains the most stable packages,
73 and is suitable for production use. The ``pbs-enterprise`` repository is
76 .. code-block:: sources.list
77 :caption: File: ``/etc/apt/sources.list.d/pbs-enterprise.list``
79 deb https://enterprise.proxmox.com/debian/pbs bullseye pbs-enterprise
82 To never miss important security fixes, the superuser (``root@pam`` user) is
83 notified via email about new packages as soon as they are available. The
84 change-log and details of each package can be viewed in the GUI (if available).
86 Please note that you need a valid subscription key to access this
87 repository. More information regarding subscription levels and pricing can be
88 found at https://www.proxmox.com/en/proxmox-backup-server/pricing
90 .. note:: You can disable this repository by commenting out the above line
91 using a `#` (at the start of the line). This prevents error messages if you do
92 not have a subscription key. Please configure the ``pbs-no-subscription``
93 repository in that case.
96 `Proxmox Backup`_ No-Subscription Repository
97 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 As the name suggests, you do not need a subscription key to access
100 this repository. It can be used for testing and non-production
101 use. It is not recommended to use it on production servers, because these
102 packages are not always heavily tested and validated.
104 We recommend to configure this repository in ``/etc/apt/sources.list``.
106 .. code-block:: sources.list
107 :caption: File: ``/etc/apt/sources.list``
109 deb http://ftp.debian.org/debian bullseye main contrib
110 deb http://ftp.debian.org/debian bullseye-updates main contrib
112 # PBS pbs-no-subscription repository provided by proxmox.com,
113 # NOT recommended for production use
114 deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription
117 deb http://security.debian.org/debian-security bullseye-security main contrib
120 `Proxmox Backup`_ Test Repository
121 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 This repository contains the latest packages and is heavily used by developers
124 to test new features.
126 .. .. warning:: the ``pbstest`` repository should (as the name implies)
127 only be used to test new features or bug fixes.
129 You can access this repository by adding the following line to
130 ``/etc/apt/sources.list``:
132 .. code-block:: sources.list
133 :caption: sources.list entry for ``pbstest``
135 deb http://download.proxmox.com/debian/pbs bullseye pbstest
137 .. _package_repositories_client_only:
139 Proxmox Backup Client-only Repository
140 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 If you want to :ref:`use the the Proxmox Backup Client <client_creating_backups>`
143 on systems using a Linux distribution not based on Proxmox projects, you can
144 use the client-only repository.
146 Currently there's only a client-repository for APT based systems.
148 .. _package_repositories_client_only_apt:
150 APT-based Proxmox Backup Client Repository
151 ++++++++++++++++++++++++++++++++++++++++++
153 For modern Linux distributions using `apt` as package manager, like all Debian
154 and Ubuntu Derivative do, you may be able to use the APT-based repository.
156 In order to configure this repository you need to first :ref:`setup the Proxmox
157 release key <package_repos_secure_apt>`. After that, add the repository URL to
158 the APT sources lists.
160 **Repositories for Debian 11 (Bullseye) based releases**
162 This repository is tested with:
166 Edit the file ``/etc/apt/sources.list.d/pbs-client.list`` and add the following
169 .. code-block:: sources.list
170 :caption: File: ``/etc/apt/sources.list``
172 deb http://download.proxmox.com/debian/pbs-client bullseye main
174 **Repositories for Debian 10 (Buster) based releases**
176 This repository is tested with:
181 It may work with older, and should work with more recent released versions.
183 Edit the file ``/etc/apt/sources.list.d/pbs-client.list`` and add the following
186 .. code-block:: sources.list
187 :caption: File: ``/etc/apt/sources.list``
189 deb http://download.proxmox.com/debian/pbs-client buster main
191 .. _node_options_http_proxy:
193 Repository Access Behind HTTP Proxy
194 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 Some setups have restricted access to the internet, sometimes only through a
197 central proxy. You can setup a HTTP proxy through the Proxmox Backup Server's
198 web-interface in the `Configuration -> Authentication` tab.
200 Once configured this proxy will be used for apt network requests and for
201 checking a Proxmox Backup Server support subscription.
203 Standard HTTP proxy configurations are accepted, `[http://]<host>[:port]` where
204 the `<host>` part may include an authorization, for example:
205 `http://user:pass@proxy.example.org:12345`