]> git.proxmox.com Git - pve-docs.git/blame - pve-package-repos.adoc
apitoken: use CAUTION for token-only-once-visible note
[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----
f193440f
TL
21deb http://ftp.debian.org/debian buster main contrib
22deb http://ftp.debian.org/debian buster-updates main contrib
d91f8c1e
DM
23
24# security updates
8282f55f 25deb http://security.debian.org/debian-security buster/updates main contrib
d91f8c1e 26----
8282f55f 27// FIXME for 7.0: change security update suite to bullseye-security
d91f8c1e 28
8e2aabac 29{pve} additionally provides three different package repositories.
d91f8c1e 30
33e0c965 31[[sysadmin_enterprise_repo]]
d91f8c1e
DM
32{pve} Enterprise Repository
33~~~~~~~~~~~~~~~~~~~~~~~~~~~
34
d3e2455a
AL
35This is the default, stable, and recommended repository, available for all {pve}
36subscription users. It contains the most stable packages and is suitable for
37production use. The `pve-enterprise` repository is enabled by default:
d91f8c1e 38
8c1189b6 39.File `/etc/apt/sources.list.d/pve-enterprise.list`
d91f8c1e 40----
f193440f 41deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
d91f8c1e
DM
42----
43
8e2aabac
AL
44The `root@pam` user is notified via email about available updates. Click the
45'Changelog' button in the GUI to see more details about the selected update.
f1a72f87 46
8e2aabac
AL
47You need a valid subscription key to access the `pve-enterprise` repository.
48Different support levels are available. Further details can be found at
49https://www.proxmox.com/en/proxmox-ve/pricing.
d91f8c1e 50
8e2aabac
AL
51NOTE: You can disable this repository by commenting out the above line using a
52`#` (at the start of the line). This prevents error messages if you do not have
53a subscription key. Please configure the `pve-no-subscription` repository in
54that case.
d91f8c1e 55
33e0c965 56[[sysadmin_no_subscription_repo]]
d91f8c1e
DM
57{pve} No-Subscription Repository
58~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59
8e2aabac
AL
60This is the recommended repository for testing and non-production use. Its
61packages are not as heavily tested and validated. You don't need a subscription key
62to access the `pve-no-subscription` repository.
d91f8c1e 63
8c1189b6 64We recommend to configure this repository in `/etc/apt/sources.list`.
d91f8c1e 65
8c1189b6 66.File `/etc/apt/sources.list`
d91f8c1e 67----
f193440f
TL
68deb http://ftp.debian.org/debian buster main contrib
69deb http://ftp.debian.org/debian buster-updates main contrib
d91f8c1e
DM
70
71# PVE pve-no-subscription repository provided by proxmox.com,
72# NOT recommended for production use
f193440f 73deb http://download.proxmox.com/debian/pve buster pve-no-subscription
d91f8c1e
DM
74
75# security updates
8282f55f 76deb http://security.debian.org/debian-security buster/updates main contrib
d91f8c1e
DM
77----
78
9dfb9a99 79
33e0c965 80[[sysadmin_test_repo]]
d91f8c1e
DM
81{pve} Test Repository
82~~~~~~~~~~~~~~~~~~~~~~
83
8e2aabac
AL
84This repository contains the latest packages and is primarily used by developers
85to test new features. To configure it, add the following line to
86`etc/apt/sources.list`:
d91f8c1e
DM
87
88.sources.list entry for `pvetest`
89----
f193440f 90deb http://download.proxmox.com/debian/pve buster pvetest
d91f8c1e
DM
91----
92
8e2aabac
AL
93WARNING: The `pvetest` repository should (as the name implies) only be used for
94testing new features or bug fixes.
b4a65355 95
2ecb5f80
AA
96[[sysadmin_package_repositories_ceph]]
97{pve} Ceph Repository
98~~~~~~~~~~~~~~~~~~~~~
99
8e2aabac
AL
100This repository holds the main {pve} Ceph packages. They are suitable for
101production. Use this repository if you run the Ceph client or a full Ceph
102cluster on {pve}.
2ecb5f80
AA
103
104.File `/etc/apt/sources.list.d/ceph.list`
105----
f193440f 106deb http://download.proxmox.com/debian/ceph-nautilus buster main
2ecb5f80
AA
107----
108
109
110{pve} Ceph Testing Repository
111~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112
8e2aabac
AL
113This Ceph repository contains the Ceph packages before they are moved to the
114main repository. It is used to test new Ceph releases on {pve}.
2ecb5f80
AA
115
116.File `/etc/apt/sources.list.d/ceph.list`
117----
f193440f 118deb http://download.proxmox.com/debian/ceph-nautilus buster test
2ecb5f80
AA
119----
120
f193440f
TL
121{pve} Ceph Luminous Repository For Upgrade
122~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123
8e2aabac
AL
124If Ceph is deployed this repository is needed for the upgrade from {pve} 5.x to
125{pve} 6.0. It provides packages for the older Ceph Luminous release for {pve}
1266.0.
127
128The https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0[Upgrade 5.x to 6.0]
129document explains how to use this repository in detail.
f193440f
TL
130
131.File `/etc/apt/sources.list.d/ceph.list`
132----
133deb http://download.proxmox.com/debian/ceph-luminous buster main
134----
f1a72f87 135
25663707
DM
136SecureApt
137~~~~~~~~~
138
8e2aabac
AL
139The 'Release' files in the repositories are signed with GnuPG. APT is using
140these signatures to verify that all packages are from a trusted source.
141
142If you install {pve} from an official ISO image, the key for verification is
143already installed.
25663707 144
8e2aabac
AL
145If you install {pve} on top of Debian, download and install
146the key with the following commands:
25663707 147
8e2aabac 148----
f193440f 149 # wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
8e2aabac 150----
25663707 151
8e2aabac 152Verify the checksum afterwards with:
25663707 153
b31e0578 154----
f193440f 155# sha512sum /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
8e2aabac
AL
156----
157
158The output should be:
159
160----
f193440f 161acca6f416917e8e11490a08a1e2842d500b3a5d9f322c6319db0927b2901c3eae23cfb5cd5df6facf2b57399d3cfa52ad7769ebdd75d9b204549ca147da52626 /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
b31e0578
DM
162----
163
8e2aabac 164or:
b31e0578 165
25663707 166----
f193440f 167# md5sum /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
8e2aabac
AL
168----
169The output should be:
170
171----
f193440f 172f3f6c5a3a67baf38ad178e5ff1ee270c /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
25663707
DM
173----
174
25663707 175
f1a72f87
DM
176ifdef::wiki[]
177
178// include note about older releases, but only for wiki
179
20dafeb0 180
f193440f
TL
181{pve} 5.x Repositories
182~~~~~~~~~~~~~~~~~~~~~~
183
8e2aabac
AL
184{pve} 5.x is based on Debian 9.x (``stretch''). Please note that this release is
185out of date. Existing installations should be updated. Nevertheless access to
186these repositories is still provided.
f193440f
TL
187
188[width="100%",cols="<d,3m",options="header"]
189|===========================================================
190|Repository | sources.list entry
191|{pve} 5.x Enterprise |
192deb https://enterprise.proxmox.com/debian stretch pve-enterprise
193|{pve} 5.x No-Subscription |
194deb http://download.proxmox.com/debian stretch pve-no-subscription
195|{pve} 5.x Test |
196deb http://download.proxmox.com/debian stretch pvetest
197|===========================================================
198
199
20dafeb0
DM
200{pve} 4.x Repositories
201~~~~~~~~~~~~~~~~~~~~~~
202
8e2aabac
AL
203{pve} 4.x is based on Debian 8.x (``jessie''). Please note that this release is
204out of date. Existing installations should be updated. Nevertheless access to
205these repositories is still provided.
20dafeb0
DM
206
207[width="100%",cols="<d,3m",options="header"]
208|===========================================================
209|Repository | sources.list entry
210|{pve} 4.x Enterprise |
a5526e69 211deb https://enterprise.proxmox.com/debian jessie pve-enterprise
20dafeb0 212|{pve} 4.x No-Subscription |
a5526e69 213deb http://download.proxmox.com/debian jessie pve-no-subscription
20dafeb0 214|{pve} 4.x Test |
a5526e69 215deb http://download.proxmox.com/debian jessie pvetest
20dafeb0
DM
216|===========================================================
217
218
9dfb9a99
DM
219{pve} 3.x Repositories
220~~~~~~~~~~~~~~~~~~~~~~
f1a72f87 221
8e2aabac
AL
222{pve} 3.x is based on Debian 7.x (``wheezy''). Please note that this release is
223out of date. Existing installations should be updated. Nevertheless access to
224these repositories is still provided.
f1a72f87
DM
225
226[width="100%",cols="<d,3m",options="header"]
227|===========================================================
228|Repository | sources.list entry
229|{pve} 3.x Enterprise |
230deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
231|{pve} 3.x No-Subscription |
232deb http://download.proxmox.com/debian wheezy pve-no-subscription
233|{pve} 3.x Test |
234deb http://download.proxmox.com/debian wheezy pvetest
235|===========================================================
236
f1a72f87 237
8c1189b6 238Outdated: `stable` Repository `pve`
9dfb9a99
DM
239~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
240
8e2aabac
AL
241This repository is a leftover to ease the update to 3.1. It will not get any
242updates after the release of 3.1. Therefore the repository needs to be removed
243after the upgrade to 3.1.
9dfb9a99 244
8c1189b6 245.File `/etc/apt/sources.list`
9dfb9a99
DM
246----
247deb http://ftp.debian.org/debian wheezy main contrib
248
249# PVE packages provided by proxmox.com - NO UPDATES after the initial release of 3.1
250# deb http://download.proxmox.com/debian wheezy pve
251
252# security updates
253deb http://security.debian.org/ wheezy/updates main contrib
254----
255
256
257Outdated: {pve} 2.x Repositories
258~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259
8e2aabac
AL
260{pve} 2.x is based on Debian 6.0 (``squeeze'') and outdated. Please upgrade to
261the latest version as soon as possible. In order to use the stable `pve` 2.x
262repository, check your sources.list:
9dfb9a99 263
8c1189b6 264.File `/etc/apt/sources.list`
9dfb9a99
DM
265----
266deb http://ftp.debian.org/debian squeeze main contrib
267
268# PVE packages provided by proxmox.com
269deb http://download.proxmox.com/debian squeeze pve
270
271# security updates
272deb http://security.debian.org/ squeeze/updates main contrib
273----
274
275
276Outdated: {pve} VE 1.x Repositories
277~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278
d3e2455a
AL
279{pve} 1.x is based on Debian 5.0 (``lenny'') and very outdated. Please upgrade
280to latest version as soon as possible.
9dfb9a99
DM
281
282
f1a72f87 283endif::wiki[]
2ecb5f80
AA
284ifdef::manvolnum[]
285include::pve-copyright.adoc[]
286endif::manvolnum[]