]> git.proxmox.com Git - pve-docs.git/blame_incremental - pve-package-repos.adoc
btrfs: document df weirdness and how to better get usage
[pve-docs.git] / pve-package-repos.adoc
... / ...
CommitLineData
1[[sysadmin_package_repositories]]
2Package Repositories
3--------------------
4ifdef::wiki[]
5:pve-toplevel:
6endif::wiki[]
7
8{pve} uses http://en.wikipedia.org/wiki/Advanced_Packaging_Tool[APT] as its
9package management tool like any other Debian-based system. Repositories are
10defined in the file `/etc/apt/sources.list` and in `.list` files placed in
11`/etc/apt/sources.list.d/`.
12
13Each line defines a package repository. The preferred source must come first.
14Empty lines are ignored. A `#` character anywhere on a line marks the remainder
15of that line as a comment. The available packages from a repository are acquired
16by running `apt-get update`. Updates can be installed directly using `apt-get`,
17or via the GUI.
18
19.File `/etc/apt/sources.list`
20----
21deb http://ftp.debian.org/debian bullseye main contrib
22deb http://ftp.debian.org/debian bullseye-updates main contrib
23
24# security updates
25deb http://security.debian.org/debian-security bullseye-security main contrib
26----
27
28{pve} additionally provides three different package repositories.
29
30[[sysadmin_enterprise_repo]]
31{pve} Enterprise Repository
32~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
34This is the default, stable, and recommended repository, available for all {pve}
35subscription users. It contains the most stable packages and is suitable for
36production use. The `pve-enterprise` repository is enabled by default:
37
38.File `/etc/apt/sources.list.d/pve-enterprise.list`
39----
40deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
41----
42
43The `root@pam` user is notified via email about available updates. Click the
44'Changelog' button in the GUI to see more details about the selected update.
45
46You need a valid subscription key to access the `pve-enterprise` repository.
47Different support levels are available. Further details can be found at
48https://www.proxmox.com/en/proxmox-ve/pricing.
49
50NOTE: You can disable this repository by commenting out the above line using a
51`#` (at the start of the line). This prevents error messages if you do not have
52a subscription key. Please configure the `pve-no-subscription` repository in
53that case.
54
55[[sysadmin_no_subscription_repo]]
56{pve} No-Subscription Repository
57~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58
59This is the recommended repository for testing and non-production use. Its
60packages are not as heavily tested and validated. You don't need a subscription key
61to access the `pve-no-subscription` repository.
62
63We recommend to configure this repository in `/etc/apt/sources.list`.
64
65.File `/etc/apt/sources.list`
66----
67deb http://ftp.debian.org/debian bullseye main contrib
68deb http://ftp.debian.org/debian bullseye-updates main contrib
69
70# PVE pve-no-subscription repository provided by proxmox.com,
71# NOT recommended for production use
72deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
73
74# security updates
75deb http://security.debian.org/debian-security bullseye-security main contrib
76----
77
78
79[[sysadmin_test_repo]]
80{pve} Test Repository
81~~~~~~~~~~~~~~~~~~~~~~
82
83This repository contains the latest packages and is primarily used by developers
84to test new features. To configure it, add the following line to
85`etc/apt/sources.list`:
86
87.sources.list entry for `pvetest`
88----
89deb http://download.proxmox.com/debian/pve bullseye pvetest
90----
91
92WARNING: The `pvetest` repository should (as the name implies) only be used for
93testing new features or bug fixes.
94
95[[sysadmin_package_repositories_ceph]]
96Ceph Pacific Repository
97~~~~~~~~~~~~~~~~~~~~~~~
98
99NOTE: Ceph Pacific (16.2) was declared stable with {pve} 7.0.
100
101This repository holds the main {pve} Ceph Pacific packages. They are suitable
102for production. Use this repository if you run the Ceph client or a full Ceph
103cluster on {pve}.
104
105.File `/etc/apt/sources.list.d/ceph.list`
106----
107deb http://download.proxmox.com/debian/ceph-pacific bullseye main
108----
109
110
111Ceph Pacific Test Repository
112~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113
114This Ceph repository contains the Ceph Pacific packages before they are moved
115to the main repository. It is used to test new Ceph releases on {pve}.
116
117.File `/etc/apt/sources.list.d/ceph.list`
118----
119deb http://download.proxmox.com/debian/ceph-pacific bullseye test
120----
121
122[[sysadmin_package_repositories_ceph_octopus]]
123Ceph Octopus Repository
124~~~~~~~~~~~~~~~~~~~~~~~
125
126NOTE: Ceph Octopus (15.2) was declared stable with {pve} 6.3 it will continue
127to get updates for the xref:faq-support-table[remaining life time of the 6.x release]
128and also for {pve} 7.x until Ceph Octopus upstream EOL (~ 2022-07).
129
130This repository holds the main {pve} Ceph Octopus packages. They are suitable
131for production. Use this repository if you run the Ceph client or a full Ceph
132cluster on {pve}.
133
134.File `/etc/apt/sources.list.d/ceph.list`
135----
136deb http://download.proxmox.com/debian/ceph-octopus bullseye main
137----
138
139Note that on an older {pve} 6.x you need to change `bullseye` to `buster` in
140the repository specification above.
141
142
143Ceph Octopus Test Repository
144~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145
146This Ceph repository contains the Ceph packages before they are moved to the
147main repository. It is used to test new Ceph releases on {pve}.
148
149.File `/etc/apt/sources.list.d/ceph.list`
150----
151deb http://download.proxmox.com/debian/ceph-octopus bullseye test
152----
153
154SecureApt
155~~~~~~~~~
156
157The 'Release' files in the repositories are signed with GnuPG. APT is using
158these signatures to verify that all packages are from a trusted source.
159
160If you install {pve} from an official ISO image, the key for verification is
161already installed.
162
163If you install {pve} on top of Debian, download and install
164the key with the following commands:
165
166----
167 # wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
168----
169
170Verify the checksum afterwards with:
171
172----
173# sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
174----
175
176The output should be:
177
178----
1797fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
180----
181
182or:
183
184----
185# md5sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
186----
187The output should be:
188
189----
190bcc35c7173e0845c0d6ad6470b70f50e /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
191----
192
193
194ifdef::wiki[]
195
196// include note about older releases, but only for wiki
197
198
199{pve} 6.x Repositories
200~~~~~~~~~~~~~~~~~~~~~~
201
202{pve} 6.x is based on Debian 10.x (``buster''). Please note that this release is
203out of date. Existing installations should be updated. Nevertheless access to
204these repositories is still provided.
205
206[width="100%",cols="<d,3m",options="header"]
207|===========================================================
208|Repository | sources.list entry
209|{pve} 6.x Enterprise |
210deb https://enterprise.proxmox.com/debian buster pve-enterprise
211|{pve} 6.x No-Subscription |
212deb http://download.proxmox.com/debian buster pve-no-subscription
213|{pve} 6.x Test |
214deb http://download.proxmox.com/debian buster pvetest
215|===========================================================
216
217
218{pve} 5.x Repositories
219~~~~~~~~~~~~~~~~~~~~~~
220
221{pve} 5.x is based on Debian 9.x (``stretch''). Please note that this release is
222out of date. Existing installations should be updated. Nevertheless access to
223these repositories is still provided.
224
225[width="100%",cols="<d,3m",options="header"]
226|===========================================================
227|Repository | sources.list entry
228|{pve} 5.x Enterprise |
229deb https://enterprise.proxmox.com/debian stretch pve-enterprise
230|{pve} 5.x No-Subscription |
231deb http://download.proxmox.com/debian stretch pve-no-subscription
232|{pve} 5.x Test |
233deb http://download.proxmox.com/debian stretch pvetest
234|===========================================================
235
236
237{pve} 4.x Repositories
238~~~~~~~~~~~~~~~~~~~~~~
239
240{pve} 4.x is based on Debian 8.x (``jessie''). Please note that this release is
241out of date. Existing installations should be updated. Nevertheless access to
242these repositories is still provided.
243
244[width="100%",cols="<d,3m",options="header"]
245|===========================================================
246|Repository | sources.list entry
247|{pve} 4.x Enterprise |
248deb https://enterprise.proxmox.com/debian jessie pve-enterprise
249|{pve} 4.x No-Subscription |
250deb http://download.proxmox.com/debian jessie pve-no-subscription
251|{pve} 4.x Test |
252deb http://download.proxmox.com/debian jessie pvetest
253|===========================================================
254
255
256{pve} 3.x Repositories
257~~~~~~~~~~~~~~~~~~~~~~
258
259{pve} 3.x is based on Debian 7.x (``wheezy''). Please note that this release is
260out of date. Existing installations should be updated. Nevertheless access to
261these repositories is still provided.
262
263[width="100%",cols="<d,3m",options="header"]
264|===========================================================
265|Repository | sources.list entry
266|{pve} 3.x Enterprise |
267deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
268|{pve} 3.x No-Subscription |
269deb http://download.proxmox.com/debian wheezy pve-no-subscription
270|{pve} 3.x Test |
271deb http://download.proxmox.com/debian wheezy pvetest
272|===========================================================
273
274
275Outdated: `stable` Repository `pve`
276~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277
278This repository is a leftover to ease the update to 3.1. It will not get any
279updates after the release of 3.1. Therefore the repository needs to be removed
280after the upgrade to 3.1.
281
282.File `/etc/apt/sources.list`
283----
284deb http://ftp.debian.org/debian wheezy main contrib
285
286# PVE packages provided by proxmox.com - NO UPDATES after the initial release of 3.1
287# deb http://download.proxmox.com/debian wheezy pve
288
289# security updates
290deb http://security.debian.org/ wheezy/updates main contrib
291----
292
293
294Outdated: {pve} 2.x Repositories
295~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296
297{pve} 2.x is based on Debian 6.0 (``squeeze'') and outdated. Please upgrade to
298the latest version as soon as possible. In order to use the stable `pve` 2.x
299repository, check your sources.list:
300
301.File `/etc/apt/sources.list`
302----
303deb http://ftp.debian.org/debian squeeze main contrib
304
305# PVE packages provided by proxmox.com
306deb http://download.proxmox.com/debian squeeze pve
307
308# security updates
309deb http://security.debian.org/ squeeze/updates main contrib
310----
311
312
313Outdated: {pve} VE 1.x Repositories
314~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
315
316{pve} 1.x is based on Debian 5.0 (``lenny'') and very outdated. Please upgrade
317to latest version as soon as possible.
318
319
320endif::wiki[]
321ifdef::manvolnum[]
322include::pve-copyright.adoc[]
323endif::manvolnum[]