]> git.proxmox.com Git - pve-docs.git/blame - pve-package-repos.adoc
update create VM screenshots
[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
d91f8c1e
DM
8All Debian based systems use
9http://en.wikipedia.org/wiki/Advanced_Packaging_Tool[APT] as package
10management 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 15Apt `sources.list` files list one package repository per line, with
d91f8c1e 16the 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 18comment. The information available from the configured sources is
8c1189b6 19acquired by `apt-get update`.
d91f8c1e 20
8c1189b6 21.File `/etc/apt/sources.list`
d91f8c1e 22----
acb3e8d7 23deb http://ftp.debian.org/debian stretch main contrib
d91f8c1e
DM
24
25# security updates
acb3e8d7 26deb http://security.debian.org stretch/updates main contrib
d91f8c1e
DM
27----
28
29In addition, {pve} provides three different package repositories.
30
31{pve} Enterprise Repository
32~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
34This is the default, stable and recommended repository, available for
35all {pve} subscription users. It contains the most stable packages,
f1a72f87
DM
36and is suitable for production use. The `pve-enterprise` repository is
37enabled by default:
d91f8c1e 38
8c1189b6 39.File `/etc/apt/sources.list.d/pve-enterprise.list`
d91f8c1e 40----
acb3e8d7 41deb https://enterprise.proxmox.com/debian stretch pve-enterprise
d91f8c1e
DM
42----
43
f1a72f87
DM
44As soon as updates are available, the `root@pam` user is notified via
45email about the available new packages. On the GUI, the change-log of
46each package can be viewed (if available), showing all details of the
47update. So you will never miss important security fixes.
48
49Please note that and you need a valid subscription key to access this
50repository. We offer different support levels, and you can find further
51details at http://www.proxmox.com/en/proxmox-ve/pricing.
52
d91f8c1e 53NOTE: You can disable this repository by commenting out the above line
8c1189b6 54using a `#` (at the start of the line). This prevents error messages
d91f8c1e
DM
55if 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
62As the name suggests, you do not need a subscription key to access
63this repository. It can be used for testing and non-production
64use. Its not recommended to run on production servers, as these
65packages are not always heavily tested and validated.
66
8c1189b6 67We recommend to configure this repository in `/etc/apt/sources.list`.
d91f8c1e 68
8c1189b6 69.File `/etc/apt/sources.list`
d91f8c1e 70----
acb3e8d7 71deb 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
acb3e8d7 75deb http://download.proxmox.com/debian stretch pve-no-subscription
d91f8c1e
DM
76
77# security updates
acb3e8d7 78deb http://security.debian.org stretch/updates main contrib
d91f8c1e
DM
79----
80
9dfb9a99 81
d91f8c1e
DM
82{pve} Test Repository
83~~~~~~~~~~~~~~~~~~~~~~
84
85Finally, there is a repository called `pvetest`. This one contains the
86latest packages and is heavily used by developers to test new
87features. 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----
acb3e8d7 92deb http://download.proxmox.com/debian stretch pvetest
d91f8c1e
DM
93----
94
b4a65355
FG
95WARNING: the `pvetest` repository should (as the name implies) only be used
96for testing new features or bug fixes.
97
f1a72f87 98
25663707
DM
99SecureApt
100~~~~~~~~~
101
8c1189b6 102We use GnuPG to sign the `Release` files inside those repositories,
25663707
DM
103and APT uses that signatures to verify that all packages are from a
104trusted source.
105
106The key used for verification is already installed if you install from
107our installation CD. If you install by other means, you can manually
108download the key with:
109
110 # wget http://download.proxmox.com/debian/key.asc
111
112Please verify the fingerprint afterwards:
113
114----
115# gpg --with-fingerprint key.asc
116pub 1024D/9887F95A 2008-10-28 Proxmox Release Key <proxmox-release@proxmox.com>
117 Key fingerprint = BE25 7BAA 5D40 6D01 157D 323E C23A C7F4 9887 F95A
118sub 2048g/A87A1B00 2008-10-28
119----
120
121If this shows the exact same fingerprint, you can add the key to the
122list of trusted APT keys:
123
124 # apt-key add key.asc
125
126
f1a72f87
DM
127ifdef::wiki[]
128
129// include note about older releases, but only for wiki
130
9dfb9a99
DM
131{pve} 3.x Repositories
132~~~~~~~~~~~~~~~~~~~~~~
f1a72f87 133
8c1189b6 134{pve} 3.x is based on Debian 7.x (``wheezy''). Please note that this
f1a72f87
DM
135release is out of date, and you should update your
136installation. Nevertheless, we still provide access to those
137repositories at our download servers.
138
139[width="100%",cols="<d,3m",options="header"]
140|===========================================================
141|Repository | sources.list entry
142|{pve} 3.x Enterprise |
143deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
144|{pve} 3.x No-Subscription |
145deb http://download.proxmox.com/debian wheezy pve-no-subscription
146|{pve} 3.x Test |
147deb http://download.proxmox.com/debian wheezy pvetest
148|===========================================================
149
8c1189b6 150NOTE: Apt `sources.list` configuration files are basically the same as
acb3e8d7 151in newer 5.x versions - just replace `wheezy` with `stretch`.
f1a72f87 152
8c1189b6 153Outdated: `stable` Repository `pve`
9dfb9a99
DM
154~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155
156This repository is a leftover to easy the update to 3.1. It will not
157get any updates after the release of 3.1. Therefore you need to remove
158this repository after you upgraded to 3.1.
159
8c1189b6 160.File `/etc/apt/sources.list`
9dfb9a99
DM
161----
162deb http://ftp.debian.org/debian wheezy main contrib
163
164# PVE packages provided by proxmox.com - NO UPDATES after the initial release of 3.1
165# deb http://download.proxmox.com/debian wheezy pve
166
167# security updates
168deb http://security.debian.org/ wheezy/updates main contrib
169----
170
171
172Outdated: {pve} 2.x Repositories
173~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174
8c1189b6 175{pve} 2.x is based on Debian 6.0 (``squeeze'') and outdated. Please
9dfb9a99 176upgrade to latest version as soon as possible. In order to use the
8c1189b6 177stable `pve` 2.x repository, check your sources.list:
9dfb9a99 178
8c1189b6 179.File `/etc/apt/sources.list`
9dfb9a99
DM
180----
181deb http://ftp.debian.org/debian squeeze main contrib
182
183# PVE packages provided by proxmox.com
184deb http://download.proxmox.com/debian squeeze pve
185
186# security updates
187deb http://security.debian.org/ squeeze/updates main contrib
188----
189
190
191Outdated: {pve} VE 1.x Repositories
192~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
193
8c1189b6 194{pve} 1.x is based on Debian 5.0 (``lenny'') and very outdated. Please
9dfb9a99
DM
195upgrade to latest version as soon as possible.
196
197
f1a72f87 198endif::wiki[]