]>
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 | ||
d91f8c1e DM |
8 | All Debian based systems use |
9 | http://en.wikipedia.org/wiki/Advanced_Packaging_Tool[APT] as package | |
10 | management tool. The list of repositories is defined in | |
8c1189b6 FG |
11 | `/etc/apt/sources.list` and `.list` files found inside |
12 | `/etc/apt/sources.d/`. Updates can be installed directly using | |
13 | `apt-get`, or via the GUI. | |
d91f8c1e | 14 | |
8c1189b6 | 15 | Apt `sources.list` files list one package repository per line, with |
d91f8c1e | 16 | the most preferred source listed first. Empty lines are ignored, and a |
8c1189b6 | 17 | `#` character anywhere on a line marks the remainder of that line as a |
d91f8c1e | 18 | comment. The information available from the configured sources is |
8c1189b6 | 19 | acquired by `apt-get update`. |
d91f8c1e | 20 | |
8c1189b6 | 21 | .File `/etc/apt/sources.list` |
d91f8c1e | 22 | ---- |
acb3e8d7 | 23 | deb http://ftp.debian.org/debian stretch main contrib |
d91f8c1e DM |
24 | |
25 | # security updates | |
acb3e8d7 | 26 | deb http://security.debian.org stretch/updates main contrib |
d91f8c1e DM |
27 | ---- |
28 | ||
29 | In addition, {pve} provides three different package repositories. | |
30 | ||
31 | {pve} Enterprise Repository | |
32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
33 | ||
34 | This is the default, stable and recommended repository, available for | |
35 | all {pve} subscription users. It contains the most stable packages, | |
f1a72f87 DM |
36 | and is suitable for production use. The `pve-enterprise` repository is |
37 | enabled by default: | |
d91f8c1e | 38 | |
8c1189b6 | 39 | .File `/etc/apt/sources.list.d/pve-enterprise.list` |
d91f8c1e | 40 | ---- |
20dafeb0 | 41 | deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise |
d91f8c1e DM |
42 | ---- |
43 | ||
f1a72f87 DM |
44 | As soon as updates are available, the `root@pam` user is notified via |
45 | email about the available new packages. On the GUI, the change-log of | |
46 | each package can be viewed (if available), showing all details of the | |
47 | update. So you will never miss important security fixes. | |
48 | ||
49 | Please note that and you need a valid subscription key to access this | |
50 | repository. We offer different support levels, and you can find further | |
91ef956f | 51 | details at https://www.proxmox.com/en/proxmox-ve/pricing. |
f1a72f87 | 52 | |
d91f8c1e | 53 | NOTE: You can disable this repository by commenting out the above line |
8c1189b6 | 54 | using a `#` (at the start of the line). This prevents error messages |
d91f8c1e DM |
55 | if you do not have a subscription key. Please configure the |
56 | `pve-no-subscription` repository in that case. | |
57 | ||
d91f8c1e DM |
58 | |
59 | {pve} No-Subscription Repository | |
60 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
61 | ||
62 | As the name suggests, you do not need a subscription key to access | |
63 | this repository. It can be used for testing and non-production | |
64 | use. Its not recommended to run on production servers, as these | |
65 | packages are not always heavily tested and validated. | |
66 | ||
8c1189b6 | 67 | We recommend to configure this repository in `/etc/apt/sources.list`. |
d91f8c1e | 68 | |
8c1189b6 | 69 | .File `/etc/apt/sources.list` |
d91f8c1e | 70 | ---- |
acb3e8d7 | 71 | deb http://ftp.debian.org/debian stretch main contrib |
d91f8c1e DM |
72 | |
73 | # PVE pve-no-subscription repository provided by proxmox.com, | |
74 | # NOT recommended for production use | |
20dafeb0 | 75 | deb http://download.proxmox.com/debian/pve stretch pve-no-subscription |
d91f8c1e DM |
76 | |
77 | # security updates | |
acb3e8d7 | 78 | deb http://security.debian.org stretch/updates main contrib |
d91f8c1e DM |
79 | ---- |
80 | ||
9dfb9a99 | 81 | |
d91f8c1e DM |
82 | {pve} Test Repository |
83 | ~~~~~~~~~~~~~~~~~~~~~~ | |
84 | ||
85 | Finally, there is a repository called `pvetest`. This one contains the | |
86 | latest packages and is heavily used by developers to test new | |
87 | features. As usual, you can configure this using | |
8c1189b6 | 88 | `/etc/apt/sources.list` by adding the following line: |
d91f8c1e DM |
89 | |
90 | .sources.list entry for `pvetest` | |
91 | ---- | |
20dafeb0 | 92 | deb http://download.proxmox.com/debian/pve stretch pvetest |
d91f8c1e DM |
93 | ---- |
94 | ||
b4a65355 FG |
95 | WARNING: the `pvetest` repository should (as the name implies) only be used |
96 | for testing new features or bug fixes. | |
97 | ||
2ecb5f80 AA |
98 | [[sysadmin_package_repositories_ceph]] |
99 | {pve} Ceph Repository | |
100 | ~~~~~~~~~~~~~~~~~~~~~ | |
101 | ||
102 | This is {pve}'s main Ceph repository and holds the Ceph packages for | |
103 | production use. You can also use this repository to update only the Ceph | |
104 | client. | |
105 | ||
106 | .File `/etc/apt/sources.list.d/ceph.list` | |
107 | ---- | |
108 | deb http://download.proxmox.com/debian/ceph-luminous stretch main | |
109 | ---- | |
110 | ||
111 | ||
112 | {pve} Ceph Testing Repository | |
113 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
114 | ||
115 | This Ceph repository contains the Ceph packages before they are moved into the | |
116 | main repository and is used to test new Ceph release on {pve}. | |
117 | ||
118 | .File `/etc/apt/sources.list.d/ceph.list` | |
119 | ---- | |
120 | deb http://download.proxmox.com/debian/ceph-luminous stretch test | |
121 | ---- | |
122 | ||
f1a72f87 | 123 | |
25663707 DM |
124 | SecureApt |
125 | ~~~~~~~~~ | |
126 | ||
8c1189b6 | 127 | We use GnuPG to sign the `Release` files inside those repositories, |
25663707 DM |
128 | and APT uses that signatures to verify that all packages are from a |
129 | trusted source. | |
130 | ||
131 | The key used for verification is already installed if you install from | |
132 | our installation CD. If you install by other means, you can manually | |
133 | download the key with: | |
134 | ||
20dafeb0 | 135 | # wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg |
25663707 | 136 | |
20dafeb0 | 137 | Please verify the checksum afterwards: |
25663707 | 138 | |
b31e0578 DM |
139 | ---- |
140 | # sha512sum /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg | |
141 | ffb95f0f4be68d2e753c8875ea2f8465864a58431d5361e88789568673551501ae574283a4e0492f17d79dc67edfb173a56a6304dea39e01f249ebdabc9f074a /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg | |
142 | ---- | |
143 | ||
144 | or | |
145 | ||
25663707 | 146 | ---- |
20dafeb0 DM |
147 | # md5sum /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg |
148 | 511d36d0f1350c01c42a3dc9f3c27939 /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg | |
25663707 DM |
149 | ---- |
150 | ||
25663707 | 151 | |
f1a72f87 DM |
152 | ifdef::wiki[] |
153 | ||
154 | // include note about older releases, but only for wiki | |
155 | ||
20dafeb0 DM |
156 | |
157 | {pve} 4.x Repositories | |
158 | ~~~~~~~~~~~~~~~~~~~~~~ | |
159 | ||
160 | {pve} 4.x is based on Debian 8.x (``jessie''). Please note that this | |
161 | release is out of date, and you should update your | |
162 | installation. Nevertheless, we still provide access to those | |
163 | repositories at our download servers. | |
164 | ||
165 | [width="100%",cols="<d,3m",options="header"] | |
166 | |=========================================================== | |
167 | |Repository | sources.list entry | |
168 | |{pve} 4.x Enterprise | | |
a5526e69 | 169 | deb https://enterprise.proxmox.com/debian jessie pve-enterprise |
20dafeb0 | 170 | |{pve} 4.x No-Subscription | |
a5526e69 | 171 | deb http://download.proxmox.com/debian jessie pve-no-subscription |
20dafeb0 | 172 | |{pve} 4.x Test | |
a5526e69 | 173 | deb http://download.proxmox.com/debian jessie pvetest |
20dafeb0 DM |
174 | |=========================================================== |
175 | ||
176 | ||
9dfb9a99 DM |
177 | {pve} 3.x Repositories |
178 | ~~~~~~~~~~~~~~~~~~~~~~ | |
f1a72f87 | 179 | |
8c1189b6 | 180 | {pve} 3.x is based on Debian 7.x (``wheezy''). Please note that this |
f1a72f87 DM |
181 | release is out of date, and you should update your |
182 | installation. Nevertheless, we still provide access to those | |
183 | repositories at our download servers. | |
184 | ||
185 | [width="100%",cols="<d,3m",options="header"] | |
186 | |=========================================================== | |
187 | |Repository | sources.list entry | |
188 | |{pve} 3.x Enterprise | | |
189 | deb https://enterprise.proxmox.com/debian wheezy pve-enterprise | |
190 | |{pve} 3.x No-Subscription | | |
191 | deb http://download.proxmox.com/debian wheezy pve-no-subscription | |
192 | |{pve} 3.x Test | | |
193 | deb http://download.proxmox.com/debian wheezy pvetest | |
194 | |=========================================================== | |
195 | ||
f1a72f87 | 196 | |
8c1189b6 | 197 | Outdated: `stable` Repository `pve` |
9dfb9a99 DM |
198 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
199 | ||
200 | This repository is a leftover to easy the update to 3.1. It will not | |
201 | get any updates after the release of 3.1. Therefore you need to remove | |
202 | this repository after you upgraded to 3.1. | |
203 | ||
8c1189b6 | 204 | .File `/etc/apt/sources.list` |
9dfb9a99 DM |
205 | ---- |
206 | deb http://ftp.debian.org/debian wheezy main contrib | |
207 | ||
208 | # PVE packages provided by proxmox.com - NO UPDATES after the initial release of 3.1 | |
209 | # deb http://download.proxmox.com/debian wheezy pve | |
210 | ||
211 | # security updates | |
212 | deb http://security.debian.org/ wheezy/updates main contrib | |
213 | ---- | |
214 | ||
215 | ||
216 | Outdated: {pve} 2.x Repositories | |
217 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
218 | ||
8c1189b6 | 219 | {pve} 2.x is based on Debian 6.0 (``squeeze'') and outdated. Please |
9dfb9a99 | 220 | upgrade to latest version as soon as possible. In order to use the |
8c1189b6 | 221 | stable `pve` 2.x repository, check your sources.list: |
9dfb9a99 | 222 | |
8c1189b6 | 223 | .File `/etc/apt/sources.list` |
9dfb9a99 DM |
224 | ---- |
225 | deb http://ftp.debian.org/debian squeeze main contrib | |
226 | ||
227 | # PVE packages provided by proxmox.com | |
228 | deb http://download.proxmox.com/debian squeeze pve | |
229 | ||
230 | # security updates | |
231 | deb http://security.debian.org/ squeeze/updates main contrib | |
232 | ---- | |
233 | ||
234 | ||
235 | Outdated: {pve} VE 1.x Repositories | |
236 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
237 | ||
8c1189b6 | 238 | {pve} 1.x is based on Debian 5.0 (``lenny'') and very outdated. Please |
9dfb9a99 DM |
239 | upgrade to latest version as soon as possible. |
240 | ||
241 | ||
f1a72f87 | 242 | endif::wiki[] |
2ecb5f80 AA |
243 | ifdef::manvolnum[] |
244 | include::pve-copyright.adoc[] | |
245 | endif::manvolnum[] |