]> git.proxmox.com Git - pve-docs.git/blame - pve-package-repos.adoc
add hint about HW RAID
[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
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.
11
65647b07 12Apt 'sources.list' files list one package repository per line, with
d91f8c1e
DM
13the most preferred source listed first. Empty lines are ignored, and a
14'#' character anywhere on a line marks the remainder of that line as a
15comment. The information available from the configured sources is
16acquired by 'apt-get update'.
17
18.File '/etc/apt/sources.list'
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,
33and is suitable for production use. You need a valid subscription key
34to access this repository. The `pve-enterprise` repository is enabled
35by default:
36
37.File '/etc/apt/sources.list.d/pve-enterprise.list'
38----
39deb https://enterprise.proxmox.com/debian jessie pve-enterprise
40----
41
42NOTE: You can disable this repository by commenting out the above line
43using a '#' (at the start of the line). This prevents error messages
44if you do not have a subscription key. Please configure the
45`pve-no-subscription` repository in that case.
46
47As soon as updates are available, the `root@pam` user is notified via
48email about the available new packages. On the GUI, the change-log of
49each package can be viewed (if available), showing all details of the
50update. So you will never miss important security fixes.
51
52{pve} No-Subscription Repository
53~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54
55As the name suggests, you do not need a subscription key to access
56this repository. It can be used for testing and non-production
57use. Its not recommended to run on production servers, as these
58packages are not always heavily tested and validated.
59
60We recommend to configure this repository in '/etc/apt/sources.list'.
61
62.File '/etc/apt/sources.list'
63----
64deb http://ftp.debian.org/debian jessie main contrib
65
66# PVE pve-no-subscription repository provided by proxmox.com,
67# NOT recommended for production use
68deb http://download.proxmox.com/debian jessie pve-no-subscription
69
70# security updates
71deb http://security.debian.org jessie/updates main contrib
72----
73
74
75{pve} Test Repository
76~~~~~~~~~~~~~~~~~~~~~~
77
78Finally, there is a repository called `pvetest`. This one contains the
79latest packages and is heavily used by developers to test new
80features. As usual, you can configure this using
81'/etc/apt/sources.list' by adding the following line:
82
83.sources.list entry for `pvetest`
84----
85deb http://download.proxmox.com/debian jessie pvetest
86----
87
b4a65355
FG
88WARNING: the `pvetest` repository should (as the name implies) only be used
89for testing new features or bug fixes.
90