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