]>
Commit | Line | Data |
---|---|---|
80c0adcb | 1 | [[sysadmin_package_repositories]] |
d91f8c1e DM |
2 | Package Repositories |
3 | -------------------- | |
5f09af76 DM |
4 | ifdef::wiki[] |
5 | :pve-toplevel: | |
6 | endif::wiki[] | |
7 | ||
8e2aabac AL |
8 | {pve} uses http://en.wikipedia.org/wiki/Advanced_Packaging_Tool[APT] as its |
9 | package management tool like any other Debian-based system. Repositories are | |
10 | defined in the file `/etc/apt/sources.list` and in `.list` files placed in | |
11 | `/etc/apt/sources.list.d/`. | |
12 | ||
13 | Each line defines a package repository. The preferred source must come first. | |
14 | Empty lines are ignored. A `#` character anywhere on a line marks the remainder | |
15 | of that line as a comment. The available packages from a repository are acquired | |
16 | by running `apt-get update`. Updates can be installed directly using `apt-get`, | |
17 | or via the GUI. | |
d91f8c1e | 18 | |
8c1189b6 | 19 | .File `/etc/apt/sources.list` |
d91f8c1e | 20 | ---- |
792c2bcb TL |
21 | deb http://ftp.debian.org/debian bullseye main contrib |
22 | deb http://ftp.debian.org/debian bullseye-updates main contrib | |
d91f8c1e DM |
23 | |
24 | # security updates | |
792c2bcb | 25 | deb 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 |
34 | This is the default, stable, and recommended repository, available for all {pve} |
35 | subscription users. It contains the most stable packages and is suitable for | |
36 | production 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 | 40 | deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise |
d91f8c1e DM |
41 | ---- |
42 | ||
8e2aabac AL |
43 | The `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 |
46 | You need a valid subscription key to access the `pve-enterprise` repository. |
47 | Different support levels are available. Further details can be found at | |
48 | https://www.proxmox.com/en/proxmox-ve/pricing. | |
d91f8c1e | 49 | |
8e2aabac AL |
50 | NOTE: 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 | |
52 | a subscription key. Please configure the `pve-no-subscription` repository in | |
53 | that case. | |
d91f8c1e | 54 | |
33e0c965 | 55 | [[sysadmin_no_subscription_repo]] |
d91f8c1e DM |
56 | {pve} No-Subscription Repository |
57 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
58 | ||
8e2aabac AL |
59 | This is the recommended repository for testing and non-production use. Its |
60 | packages are not as heavily tested and validated. You don't need a subscription key | |
61 | to access the `pve-no-subscription` repository. | |
d91f8c1e | 62 | |
8c1189b6 | 63 | We recommend to configure this repository in `/etc/apt/sources.list`. |
d91f8c1e | 64 | |
8c1189b6 | 65 | .File `/etc/apt/sources.list` |
d91f8c1e | 66 | ---- |
792c2bcb TL |
67 | deb http://ftp.debian.org/debian bullseye main contrib |
68 | deb 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 | 72 | deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription |
d91f8c1e DM |
73 | |
74 | # security updates | |
792c2bcb | 75 | deb 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 |
83 | This repository contains the latest packages and is primarily used by developers |
84 | to 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 | 89 | deb http://download.proxmox.com/debian/pve bullseye pvetest |
d91f8c1e DM |
90 | ---- |
91 | ||
8e2aabac AL |
92 | WARNING: The `pvetest` repository should (as the name implies) only be used for |
93 | testing new features or bug fixes. | |
b4a65355 | 94 | |
2ecb5f80 | 95 | [[sysadmin_package_repositories_ceph]] |
792c2bcb | 96 | Ceph Pacific Repository |
b9495945 | 97 | ~~~~~~~~~~~~~~~~~~~~~~~ |
2ecb5f80 | 98 | |
792c2bcb | 99 | NOTE: Ceph Octopus (16.2) was declared stable with {pve} 7.0 |
b9495945 | 100 | |
792c2bcb | 101 | This repository holds the main {pve} Ceph Pacific packages. They are suitable |
b9495945 TL |
102 | for production. Use this repository if you run the Ceph client or a full Ceph |
103 | cluster on {pve}. | |
104 | ||
105 | .File `/etc/apt/sources.list.d/ceph.list` | |
106 | ---- | |
792c2bcb | 107 | deb http://download.proxmox.com/debian/ceph-pacific bullseye main |
b9495945 TL |
108 | ---- |
109 | ||
110 | ||
792c2bcb | 111 | Ceph Pacific Test Repository |
b9495945 TL |
112 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
113 | ||
792c2bcb TL |
114 | This Ceph repository contains the Ceph Pacific packages before they are moved |
115 | to 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 | 119 | deb http://download.proxmox.com/debian/ceph-pacific bullseye test |
b9495945 TL |
120 | ---- |
121 | ||
792c2bcb TL |
122 | [[sysadmin_package_repositories_ceph_octopus]] |
123 | Ceph Octopus Repository | |
124 | ~~~~~~~~~~~~~~~~~~~~~~~ | |
b9495945 | 125 | |
792c2bcb TL |
126 | NOTE: Ceph Octopus (15.2) was declared stable with {pve} 6.3 it will continue |
127 | to get updates for the xref:faq-support-table[remaining life time of the 6.x release] | |
128 | and also for {pve} 7.x until Ceph Octopus upstream EOL (~ 2022-07). | |
b9495945 | 129 | |
792c2bcb | 130 | This repository holds the main {pve} Ceph Octopus packages. They are suitable |
b9495945 | 131 | for production. Use this repository if you run the Ceph client or a full Ceph |
8e2aabac | 132 | cluster on {pve}. |
2ecb5f80 AA |
133 | |
134 | .File `/etc/apt/sources.list.d/ceph.list` | |
135 | ---- | |
792c2bcb | 136 | deb http://download.proxmox.com/debian/ceph-octopus bullseye main |
2ecb5f80 AA |
137 | ---- |
138 | ||
792c2bcb TL |
139 | Note that on an older {pve} 6.x you need to change `bullseye` to `buster` in |
140 | the repository specification above. | |
2ecb5f80 | 141 | |
792c2bcb TL |
142 | |
143 | Ceph Octopus Test Repository | |
144 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
2ecb5f80 | 145 | |
8e2aabac AL |
146 | This Ceph repository contains the Ceph packages before they are moved to the |
147 | main 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 | 151 | deb http://download.proxmox.com/debian/ceph-octopus bullseye test |
f193440f | 152 | ---- |
f1a72f87 | 153 | |
25663707 DM |
154 | SecureApt |
155 | ~~~~~~~~~ | |
156 | ||
8e2aabac AL |
157 | The 'Release' files in the repositories are signed with GnuPG. APT is using |
158 | these signatures to verify that all packages are from a trusted source. | |
159 | ||
160 | If you install {pve} from an official ISO image, the key for verification is | |
161 | already installed. | |
25663707 | 162 | |
8e2aabac AL |
163 | If you install {pve} on top of Debian, download and install |
164 | the 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 | 170 | Verify the checksum afterwards with: |
25663707 | 171 | |
b31e0578 | 172 | ---- |
792c2bcb | 173 | # sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg |
8e2aabac AL |
174 | ---- |
175 | ||
176 | The output should be: | |
177 | ||
178 | ---- | |
792c2bcb | 179 | 7fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg |
b31e0578 DM |
180 | ---- |
181 | ||
8e2aabac | 182 | or: |
b31e0578 | 183 | |
25663707 | 184 | ---- |
792c2bcb | 185 | # md5sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg |
8e2aabac AL |
186 | ---- |
187 | The output should be: | |
188 | ||
189 | ---- | |
792c2bcb | 190 | bcc35c7173e0845c0d6ad6470b70f50e /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg |
25663707 DM |
191 | ---- |
192 | ||
25663707 | 193 | |
f1a72f87 DM |
194 | ifdef::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 | |
203 | out of date. Existing installations should be updated. Nevertheless access to | |
204 | these repositories is still provided. | |
205 | ||
206 | [width="100%",cols="<d,3m",options="header"] | |
207 | |=========================================================== | |
208 | |Repository | sources.list entry | |
209 | |{pve} 6.x Enterprise | | |
210 | deb https://enterprise.proxmox.com/debian buster pve-enterprise | |
211 | |{pve} 6.x No-Subscription | | |
212 | deb http://download.proxmox.com/debian buster pve-no-subscription | |
213 | |{pve} 6.x Test | | |
214 | deb 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 |
222 | out of date. Existing installations should be updated. Nevertheless access to | |
223 | these 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 | | |
229 | deb https://enterprise.proxmox.com/debian stretch pve-enterprise | |
230 | |{pve} 5.x No-Subscription | | |
231 | deb http://download.proxmox.com/debian stretch pve-no-subscription | |
232 | |{pve} 5.x Test | | |
233 | deb 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 |
241 | out of date. Existing installations should be updated. Nevertheless access to | |
242 | these 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 | 248 | deb https://enterprise.proxmox.com/debian jessie pve-enterprise |
20dafeb0 | 249 | |{pve} 4.x No-Subscription | |
a5526e69 | 250 | deb http://download.proxmox.com/debian jessie pve-no-subscription |
20dafeb0 | 251 | |{pve} 4.x Test | |
a5526e69 | 252 | deb 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 |
260 | out of date. Existing installations should be updated. Nevertheless access to | |
261 | these 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 | | |
267 | deb https://enterprise.proxmox.com/debian wheezy pve-enterprise | |
268 | |{pve} 3.x No-Subscription | | |
269 | deb http://download.proxmox.com/debian wheezy pve-no-subscription | |
270 | |{pve} 3.x Test | | |
271 | deb http://download.proxmox.com/debian wheezy pvetest | |
272 | |=========================================================== | |
273 | ||
f1a72f87 | 274 | |
8c1189b6 | 275 | Outdated: `stable` Repository `pve` |
9dfb9a99 DM |
276 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
277 | ||
8e2aabac AL |
278 | This repository is a leftover to ease the update to 3.1. It will not get any |
279 | updates after the release of 3.1. Therefore the repository needs to be removed | |
280 | after the upgrade to 3.1. | |
9dfb9a99 | 281 | |
8c1189b6 | 282 | .File `/etc/apt/sources.list` |
9dfb9a99 DM |
283 | ---- |
284 | deb 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 | |
290 | deb http://security.debian.org/ wheezy/updates main contrib | |
291 | ---- | |
292 | ||
293 | ||
294 | Outdated: {pve} 2.x Repositories | |
295 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
296 | ||
8e2aabac AL |
297 | {pve} 2.x is based on Debian 6.0 (``squeeze'') and outdated. Please upgrade to |
298 | the latest version as soon as possible. In order to use the stable `pve` 2.x | |
299 | repository, check your sources.list: | |
9dfb9a99 | 300 | |
8c1189b6 | 301 | .File `/etc/apt/sources.list` |
9dfb9a99 DM |
302 | ---- |
303 | deb http://ftp.debian.org/debian squeeze main contrib | |
304 | ||
305 | # PVE packages provided by proxmox.com | |
306 | deb http://download.proxmox.com/debian squeeze pve | |
307 | ||
308 | # security updates | |
309 | deb http://security.debian.org/ squeeze/updates main contrib | |
310 | ---- | |
311 | ||
312 | ||
313 | Outdated: {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 |
317 | to latest version as soon as possible. | |
9dfb9a99 DM |
318 | |
319 | ||
f1a72f87 | 320 | endif::wiki[] |
2ecb5f80 AA |
321 | ifdef::manvolnum[] |
322 | include::pve-copyright.adoc[] | |
323 | endif::manvolnum[] |