]> git.proxmox.com Git - pve-docs.git/blame - pve-package-repos.adoc
package repos: update for upcoming PVE 8 and Ceph enterprise repo
[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 8{pve} uses http://en.wikipedia.org/wiki/Advanced_Packaging_Tool[APT] as its
d9beb571 9package management tool like any other Debian-based system.
8e2aabac 10
d9beb571
TL
11Repositories in {pve}
12~~~~~~~~~~~~~~~~~~~~~
13
14Repositories are a collection of software packages, they can be used to install
15new software, but are also important to get new updates.
16
17NOTE: You need valid Debian and Proxmox repositories to get the latest
18security updates, bug fixes and new features.
19
20APT Repositories are defined in the file `/etc/apt/sources.list` and in `.list`
21files placed in `/etc/apt/sources.list.d/`.
22
23Repository Management
24^^^^^^^^^^^^^^^^^^^^^
25
26[thumbnail="screenshot/gui-node-repositories.png"]
27
1f241093 28Since Proxmox VE 7, you can check the repository state in the web interface.
d9beb571
TL
29The node summary panel shows a high level status overview, while the separate
30'Repository' panel shows in-depth status and list of all configured
31repositories.
32
33Basic repository management, for example, activating or deactivating a
34repository, is also supported.
35
36Sources.list
37^^^^^^^^^^^^
38
39In a `sources.list` file, each line defines a package repository. The preferred
40source must come first. Empty lines are ignored. A `#` character anywhere on a
41line marks the remainder of that line as a comment. The available packages from
42a repository are acquired by running `apt-get update`. Updates can be installed
43directly using `apt-get`, or via the GUI (Node -> Updates).
d91f8c1e 44
8c1189b6 45.File `/etc/apt/sources.list`
d91f8c1e 46----
1f241093
TL
47deb http://deb.debian.org/debian bookworm main contrib
48deb http://deb.debian.org/debian bookworm-updates main contrib
d91f8c1e
DM
49
50# security updates
1f241093 51deb http://security.debian.org/debian-security bookworm-security main contrib
d91f8c1e
DM
52----
53
d9beb571 54{pve} provides three different package repositories.
d91f8c1e 55
33e0c965 56[[sysadmin_enterprise_repo]]
d91f8c1e
DM
57{pve} Enterprise Repository
58~~~~~~~~~~~~~~~~~~~~~~~~~~~
59
d3e2455a
AL
60This is the default, stable, and recommended repository, available for all {pve}
61subscription users. It contains the most stable packages and is suitable for
62production use. The `pve-enterprise` repository is enabled by default:
d91f8c1e 63
8c1189b6 64.File `/etc/apt/sources.list.d/pve-enterprise.list`
d91f8c1e 65----
1f241093 66deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
d91f8c1e
DM
67----
68
8e2aabac
AL
69The `root@pam` user is notified via email about available updates. Click the
70'Changelog' button in the GUI to see more details about the selected update.
f1a72f87 71
8e2aabac
AL
72You need a valid subscription key to access the `pve-enterprise` repository.
73Different support levels are available. Further details can be found at
74https://www.proxmox.com/en/proxmox-ve/pricing.
d91f8c1e 75
8e2aabac 76NOTE: You can disable this repository by commenting out the above line using a
1f241093
TL
77`#` (at the start of the line). This prevents error messages if your host does
78not have a subscription key. Please configure the `pve-no-subscription`
79repository in that case.
d91f8c1e 80
33e0c965 81[[sysadmin_no_subscription_repo]]
d91f8c1e
DM
82{pve} No-Subscription Repository
83~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84
8e2aabac
AL
85This is the recommended repository for testing and non-production use. Its
86packages are not as heavily tested and validated. You don't need a subscription key
87to access the `pve-no-subscription` repository.
d91f8c1e 88
8c1189b6 89We recommend to configure this repository in `/etc/apt/sources.list`.
d91f8c1e 90
8c1189b6 91.File `/etc/apt/sources.list`
d91f8c1e 92----
1f241093
TL
93deb http://ftp.debian.org/debian bookworm main contrib
94deb http://ftp.debian.org/debian bookworm-updates main contrib
d91f8c1e 95
363c7a1d 96# Proxmox VE pve-no-subscription repository provided by proxmox.com,
d91f8c1e 97# NOT recommended for production use
1f241093 98deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
d91f8c1e
DM
99
100# security updates
1f241093 101deb http://security.debian.org/debian-security bookworm-security main contrib
d91f8c1e
DM
102----
103
9dfb9a99 104
33e0c965 105[[sysadmin_test_repo]]
d91f8c1e
DM
106{pve} Test Repository
107~~~~~~~~~~~~~~~~~~~~~~
108
8e2aabac
AL
109This repository contains the latest packages and is primarily used by developers
110to test new features. To configure it, add the following line to
f8a257d9 111`/etc/apt/sources.list`:
d91f8c1e
DM
112
113.sources.list entry for `pvetest`
114----
1f241093 115deb http://download.proxmox.com/debian/pve bookworm pvetest
d91f8c1e
DM
116----
117
8e2aabac
AL
118WARNING: The `pvetest` repository should (as the name implies) only be used for
119testing new features or bug fixes.
b4a65355 120
2ecb5f80 121[[sysadmin_package_repositories_ceph]]
1f241093
TL
122Ceph Quincy Enterprise Repository
123~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
f211eb8c 124
1f241093
TL
125This repository holds the enterprise {pve} Ceph Quincy packages. They are
126suitable for production. Use this repository if you run the Ceph client or a
127full Ceph cluster on {pve}.
f211eb8c
TL
128
129.File `/etc/apt/sources.list.d/ceph.list`
130----
1f241093 131deb http://download.proxmox.com/debian/ceph-quincy bookworm enterprise
f211eb8c
TL
132----
133
134
1f241093
TL
135Ceph Quincy No-Subscription Repository
136~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
f211eb8c
TL
137
138This Ceph repository contains the Ceph Quincy packages before they are moved
1f241093 139to the enterprise repository and after they where on the test repository.
b9495945 140
1f241093
TL
141NOTE: It's recommended to use the enterprise repository for production
142machines.
b9495945
TL
143
144.File `/etc/apt/sources.list.d/ceph.list`
145----
1f241093 146deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
b9495945
TL
147----
148
149
1f241093
TL
150Ceph Quincy Test Repository
151~~~~~~~~~~~~~~~~~~~~~~~~~~~
b9495945 152
1f241093 153This Ceph repository contains the Ceph Quincy packages before they are moved
792c2bcb 154to the main repository. It is used to test new Ceph releases on {pve}.
b9495945
TL
155
156.File `/etc/apt/sources.list.d/ceph.list`
157----
1f241093 158deb http://download.proxmox.com/debian/ceph-quincy bookworm test
b9495945
TL
159----
160
1f241093 161Older Ceph Repositories
792c2bcb 162~~~~~~~~~~~~~~~~~~~~~~~
b9495945 163
1f241093
TL
164{pve} 8 doesn't support Ceph Pacific, Ceph Octopus, or even older releases for
165hyper-converged setups. For those releases, you need to first upgrade Ceph to a
166newer release before upgrading to Proxmox VE 8.
2ecb5f80 167
1f241093
TL
168See the respective
169https://pve.proxmox.com/wiki/Category:Ceph_Upgrade[upgrade guide] for details.
792c2bcb 170
f1a72f87 171
d9beb571
TL
172[[repos_secure_apt]]
173
25663707
DM
174SecureApt
175~~~~~~~~~
176
8e2aabac
AL
177The 'Release' files in the repositories are signed with GnuPG. APT is using
178these signatures to verify that all packages are from a trusted source.
179
180If you install {pve} from an official ISO image, the key for verification is
181already installed.
25663707 182
8e2aabac
AL
183If you install {pve} on top of Debian, download and install
184the key with the following commands:
25663707 185
8e2aabac 186----
1f241093 187 # wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
8e2aabac 188----
25663707 189
4fcbd78d 190Verify the checksum afterwards with the `sha512sum` CLI tool:
25663707 191
b31e0578 192----
1f241093
TL
193# sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
1947da6fe34168adc6e479327ba517796d4702fa2f8b4f0a9833f5ea6e6b48f6507a6da403a274fe201595edc86a84463d50383d07f64bdde2e3658108db7d6dc87 /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
b31e0578
DM
195----
196
4fcbd78d 197or the `md5sum` CLI tool:
b31e0578 198
25663707 199----
1f241093
TL
200# md5sum /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
20141558dc019ef90bd0f6067644a51cf5b /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
25663707
DM
202----
203
25663707 204
f1a72f87
DM
205ifdef::wiki[]
206
207// include note about older releases, but only for wiki
208
1f241093
TL
209{pve} 7.x Repositories
210~~~~~~~~~~~~~~~~~~~~~~
211
212{pve} 7.x is based on Debian 11.x (``bullseye''). Please note that this release
213is out of date (see the xref:faq-support-table[FAQ support table]). Existing
214installations should be updated. Nevertheless access to these repositories is
215still provided.
216
217[width="100%",cols="<d,3m",options="header"]
218|===========================================================
219|Repository | sources.list entry
220|{pve} 7.x Enterprise |
221deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
222|{pve} 7.x No-Subscription |
223deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
224|{pve} 7.x Test |
225deb http://download.proxmox.com/debian/pve bullseye pvetest
226|===========================================================
227
228Release key URL: https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg
229
230Release key hash sums:
231
232----
233sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
2347fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa
235
236md5sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
237bcc35c7173e0845c0d6ad6470b70f50e
238----
239
20dafeb0 240
792c2bcb
TL
241{pve} 6.x Repositories
242~~~~~~~~~~~~~~~~~~~~~~
243
244{pve} 6.x is based on Debian 10.x (``buster''). Please note that this release is
245out of date. Existing installations should be updated. Nevertheless access to
246these repositories is still provided.
247
248[width="100%",cols="<d,3m",options="header"]
249|===========================================================
250|Repository | sources.list entry
251|{pve} 6.x Enterprise |
17597194 252deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
792c2bcb 253|{pve} 6.x No-Subscription |
17597194 254deb http://download.proxmox.com/debian/pve buster pve-no-subscription
792c2bcb 255|{pve} 6.x Test |
17597194 256deb http://download.proxmox.com/debian/pve buster pvetest
792c2bcb
TL
257|===========================================================
258
259
f193440f
TL
260{pve} 5.x Repositories
261~~~~~~~~~~~~~~~~~~~~~~
262
8e2aabac
AL
263{pve} 5.x is based on Debian 9.x (``stretch''). Please note that this release is
264out of date. Existing installations should be updated. Nevertheless access to
265these repositories is still provided.
f193440f
TL
266
267[width="100%",cols="<d,3m",options="header"]
268|===========================================================
269|Repository | sources.list entry
270|{pve} 5.x Enterprise |
17597194 271deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
f193440f 272|{pve} 5.x No-Subscription |
17597194 273deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
f193440f 274|{pve} 5.x Test |
17597194 275deb http://download.proxmox.com/debian/pve stretch pvetest
f193440f
TL
276|===========================================================
277
278
20dafeb0
DM
279{pve} 4.x Repositories
280~~~~~~~~~~~~~~~~~~~~~~
281
8e2aabac
AL
282{pve} 4.x is based on Debian 8.x (``jessie''). Please note that this release is
283out of date. Existing installations should be updated. Nevertheless access to
284these repositories is still provided.
20dafeb0
DM
285
286[width="100%",cols="<d,3m",options="header"]
287|===========================================================
288|Repository | sources.list entry
289|{pve} 4.x Enterprise |
17597194 290deb https://enterprise.proxmox.com/debian/pve jessie pve-enterprise
20dafeb0 291|{pve} 4.x No-Subscription |
17597194 292deb http://download.proxmox.com/debian/pve jessie pve-no-subscription
20dafeb0 293|{pve} 4.x Test |
17597194 294deb http://download.proxmox.com/debian/pve jessie pvetest
20dafeb0
DM
295|===========================================================
296
297
9dfb9a99
DM
298{pve} 3.x Repositories
299~~~~~~~~~~~~~~~~~~~~~~
f1a72f87 300
8e2aabac
AL
301{pve} 3.x is based on Debian 7.x (``wheezy''). Please note that this release is
302out of date. Existing installations should be updated. Nevertheless access to
303these repositories is still provided.
f1a72f87
DM
304
305[width="100%",cols="<d,3m",options="header"]
306|===========================================================
307|Repository | sources.list entry
308|{pve} 3.x Enterprise |
17597194 309deb https://enterprise.proxmox.com/debian/pve wheezy pve-enterprise
f1a72f87 310|{pve} 3.x No-Subscription |
17597194 311deb http://download.proxmox.com/debian/pve wheezy pve-no-subscription
f1a72f87 312|{pve} 3.x Test |
17597194 313deb http://download.proxmox.com/debian/pve wheezy pvetest
f1a72f87
DM
314|===========================================================
315
f1a72f87 316
8c1189b6 317Outdated: `stable` Repository `pve`
9dfb9a99
DM
318~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
319
8e2aabac
AL
320This repository is a leftover to ease the update to 3.1. It will not get any
321updates after the release of 3.1. Therefore the repository needs to be removed
322after the upgrade to 3.1.
9dfb9a99 323
8c1189b6 324.File `/etc/apt/sources.list`
9dfb9a99
DM
325----
326deb http://ftp.debian.org/debian wheezy main contrib
327
328# PVE packages provided by proxmox.com - NO UPDATES after the initial release of 3.1
329# deb http://download.proxmox.com/debian wheezy pve
330
331# security updates
332deb http://security.debian.org/ wheezy/updates main contrib
333----
334
335
336Outdated: {pve} 2.x Repositories
337~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
338
8e2aabac
AL
339{pve} 2.x is based on Debian 6.0 (``squeeze'') and outdated. Please upgrade to
340the latest version as soon as possible. In order to use the stable `pve` 2.x
341repository, check your sources.list:
9dfb9a99 342
8c1189b6 343.File `/etc/apt/sources.list`
9dfb9a99
DM
344----
345deb http://ftp.debian.org/debian squeeze main contrib
346
347# PVE packages provided by proxmox.com
348deb http://download.proxmox.com/debian squeeze pve
349
350# security updates
351deb http://security.debian.org/ squeeze/updates main contrib
352----
353
354
355Outdated: {pve} VE 1.x Repositories
356~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
357
d3e2455a
AL
358{pve} 1.x is based on Debian 5.0 (``lenny'') and very outdated. Please upgrade
359to latest version as soon as possible.
9dfb9a99
DM
360
361
f1a72f87 362endif::wiki[]
2ecb5f80
AA
363ifdef::manvolnum[]
364include::pve-copyright.adoc[]
365endif::manvolnum[]