]> git.proxmox.com Git - pve-docs.git/blame - pve-package-repos.adoc
btrfs: document df weirdness and how to better get usage
[pve-docs.git] / pve-package-repos.adoc
CommitLineData
80c0adcb 1[[sysadmin_package_repositories]]
d91f8c1e
DM
2Package Repositories
3--------------------
5f09af76
DM
4ifdef::wiki[]
5:pve-toplevel:
6endif::wiki[]
7
8e2aabac
AL
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.
d91f8c1e 18
8c1189b6 19.File `/etc/apt/sources.list`
d91f8c1e 20----
792c2bcb
TL
21deb http://ftp.debian.org/debian bullseye main contrib
22deb http://ftp.debian.org/debian bullseye-updates main contrib
d91f8c1e
DM
23
24# security updates
792c2bcb 25deb http://security.debian.org/debian-security bullseye-security main contrib
d91f8c1e
DM
26----
27
8e2aabac 28{pve} additionally provides three different package repositories.
d91f8c1e 29
33e0c965 30[[sysadmin_enterprise_repo]]
d91f8c1e
DM
31{pve} Enterprise Repository
32~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
d3e2455a
AL
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:
d91f8c1e 37
8c1189b6 38.File `/etc/apt/sources.list.d/pve-enterprise.list`
d91f8c1e 39----
792c2bcb 40deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
d91f8c1e
DM
41----
42
8e2aabac
AL
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.
f1a72f87 45
8e2aabac
AL
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.
d91f8c1e 49
8e2aabac
AL
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.
d91f8c1e 54
33e0c965 55[[sysadmin_no_subscription_repo]]
d91f8c1e
DM
56{pve} No-Subscription Repository
57~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58
8e2aabac
AL
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.
d91f8c1e 62
8c1189b6 63We recommend to configure this repository in `/etc/apt/sources.list`.
d91f8c1e 64
8c1189b6 65.File `/etc/apt/sources.list`
d91f8c1e 66----
792c2bcb
TL
67deb http://ftp.debian.org/debian bullseye main contrib
68deb http://ftp.debian.org/debian bullseye-updates main contrib
d91f8c1e
DM
69
70# PVE pve-no-subscription repository provided by proxmox.com,
71# NOT recommended for production use
792c2bcb 72deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
d91f8c1e
DM
73
74# security updates
792c2bcb 75deb http://security.debian.org/debian-security bullseye-security main contrib
d91f8c1e
DM
76----
77
9dfb9a99 78
33e0c965 79[[sysadmin_test_repo]]
d91f8c1e
DM
80{pve} Test Repository
81~~~~~~~~~~~~~~~~~~~~~~
82
8e2aabac
AL
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`:
d91f8c1e
DM
86
87.sources.list entry for `pvetest`
88----
792c2bcb 89deb http://download.proxmox.com/debian/pve bullseye pvetest
d91f8c1e
DM
90----
91
8e2aabac
AL
92WARNING: The `pvetest` repository should (as the name implies) only be used for
93testing new features or bug fixes.
b4a65355 94
2ecb5f80 95[[sysadmin_package_repositories_ceph]]
792c2bcb 96Ceph Pacific Repository
b9495945 97~~~~~~~~~~~~~~~~~~~~~~~
2ecb5f80 98
83cc8151 99NOTE: Ceph Pacific (16.2) was declared stable with {pve} 7.0.
b9495945 100
792c2bcb 101This repository holds the main {pve} Ceph Pacific packages. They are suitable
b9495945
TL
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----
792c2bcb 107deb http://download.proxmox.com/debian/ceph-pacific bullseye main
b9495945
TL
108----
109
110
792c2bcb 111Ceph Pacific Test Repository
b9495945
TL
112~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113
792c2bcb
TL
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}.
b9495945
TL
116
117.File `/etc/apt/sources.list.d/ceph.list`
118----
792c2bcb 119deb http://download.proxmox.com/debian/ceph-pacific bullseye test
b9495945
TL
120----
121
792c2bcb
TL
122[[sysadmin_package_repositories_ceph_octopus]]
123Ceph Octopus Repository
124~~~~~~~~~~~~~~~~~~~~~~~
b9495945 125
792c2bcb
TL
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).
b9495945 129
792c2bcb 130This repository holds the main {pve} Ceph Octopus packages. They are suitable
b9495945 131for production. Use this repository if you run the Ceph client or a full Ceph
8e2aabac 132cluster on {pve}.
2ecb5f80
AA
133
134.File `/etc/apt/sources.list.d/ceph.list`
135----
792c2bcb 136deb http://download.proxmox.com/debian/ceph-octopus bullseye main
2ecb5f80
AA
137----
138
792c2bcb
TL
139Note that on an older {pve} 6.x you need to change `bullseye` to `buster` in
140the repository specification above.
2ecb5f80 141
792c2bcb
TL
142
143Ceph Octopus Test Repository
144~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2ecb5f80 145
8e2aabac
AL
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}.
2ecb5f80
AA
148
149.File `/etc/apt/sources.list.d/ceph.list`
150----
792c2bcb 151deb http://download.proxmox.com/debian/ceph-octopus bullseye test
f193440f 152----
f1a72f87 153
25663707
DM
154SecureApt
155~~~~~~~~~
156
8e2aabac
AL
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.
25663707 162
8e2aabac
AL
163If you install {pve} on top of Debian, download and install
164the key with the following commands:
25663707 165
8e2aabac 166----
792c2bcb 167 # wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
8e2aabac 168----
25663707 169
8e2aabac 170Verify the checksum afterwards with:
25663707 171
b31e0578 172----
792c2bcb 173# sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
8e2aabac
AL
174----
175
176The output should be:
177
178----
792c2bcb 1797fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
b31e0578
DM
180----
181
8e2aabac 182or:
b31e0578 183
25663707 184----
792c2bcb 185# md5sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
8e2aabac
AL
186----
187The output should be:
188
189----
792c2bcb 190bcc35c7173e0845c0d6ad6470b70f50e /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
25663707
DM
191----
192
25663707 193
f1a72f87
DM
194ifdef::wiki[]
195
196// include note about older releases, but only for wiki
197
20dafeb0 198
792c2bcb
TL
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
f193440f
TL
218{pve} 5.x Repositories
219~~~~~~~~~~~~~~~~~~~~~~
220
8e2aabac
AL
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.
f193440f
TL
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
20dafeb0
DM
237{pve} 4.x Repositories
238~~~~~~~~~~~~~~~~~~~~~~
239
8e2aabac
AL
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.
20dafeb0
DM
243
244[width="100%",cols="<d,3m",options="header"]
245|===========================================================
246|Repository | sources.list entry
247|{pve} 4.x Enterprise |
a5526e69 248deb https://enterprise.proxmox.com/debian jessie pve-enterprise
20dafeb0 249|{pve} 4.x No-Subscription |
a5526e69 250deb http://download.proxmox.com/debian jessie pve-no-subscription
20dafeb0 251|{pve} 4.x Test |
a5526e69 252deb http://download.proxmox.com/debian jessie pvetest
20dafeb0
DM
253|===========================================================
254
255
9dfb9a99
DM
256{pve} 3.x Repositories
257~~~~~~~~~~~~~~~~~~~~~~
f1a72f87 258
8e2aabac
AL
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.
f1a72f87
DM
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
f1a72f87 274
8c1189b6 275Outdated: `stable` Repository `pve`
9dfb9a99
DM
276~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277
8e2aabac
AL
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.
9dfb9a99 281
8c1189b6 282.File `/etc/apt/sources.list`
9dfb9a99
DM
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
8e2aabac
AL
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:
9dfb9a99 300
8c1189b6 301.File `/etc/apt/sources.list`
9dfb9a99
DM
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
d3e2455a
AL
316{pve} 1.x is based on Debian 5.0 (``lenny'') and very outdated. Please upgrade
317to latest version as soon as possible.
9dfb9a99
DM
318
319
f1a72f87 320endif::wiki[]
2ecb5f80
AA
321ifdef::manvolnum[]
322include::pve-copyright.adoc[]
323endif::manvolnum[]