]> git.proxmox.com Git - pmg-docs.git/commitdiff
prefer apt over apt-get, fix CT appliance section
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Apr 2020 16:10:54 +0000 (18:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Apr 2020 16:10:54 +0000 (18:10 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
pmg-installation.adoc
pmgupgrade.adoc

index a173e77442bfe7cb928e6fdd53fd7471eaf69115..b74921aa4e8e185ec0d5f8555e742ca7ebab7769 100644 (file)
@@ -233,8 +233,8 @@ xref:pmg_package_repositories[Package repositories], you need to run:
 
 [source,bash]
 ----
-apt-get update
-apt-get install proxmox-mailgateway
+apt update
+apt install proxmox-mailgateway
 ----
 
 Installing on top of an existing Debian installation looks easy, but
@@ -265,8 +265,15 @@ NOTE: It's recommended to use a static network configuration. If DHCP should be
 used ensure that the container always leases the same IP, for example, by
 reserving one with the containers network MAC address.
 
-It is also possible to install {pmg} in a regular Debian LXC or VM, just as you would
-xref:pmg_install_on_debian[on a normal Debian].
+Additionally you can also install this on top of a container based Debian
+installation. After configuring the
+xref:pmg_package_repositories[Package repositories], you need to run:
+
+[source,bash]
+----
+apt update
+apt install proxmox-mailgateway-container
+----
 
 [[pmg_package_repositories]]
 Package Repositories
@@ -277,13 +284,13 @@ https://en.wikipedia.org/wiki/Advanced_Packaging_Tool[APT] as package
 management tool. The list of repositories is defined in
 `/etc/apt/sources.list` and `.list` files found inside
 `/etc/apt/sources.d/`. Updates can be installed directly using
-`apt-get`, or via the GUI.
+`apt`, or via the GUI.
 
 Apt `sources.list` files list one package repository per line, with
 the most preferred source listed first. Empty lines are ignored, and a
 `#` character anywhere on a line marks the remainder of that line as a
 comment. The information available from the configured sources is
-acquired by `apt-get update`.
+acquired by `apt update`.
 
 .File `/etc/apt/sources.list`
 ----
index 7f736b95ca3ce1f00b425aba34fa627a8959baab..03caabdad1d6245fa56978a591d7914d01086879 100644 (file)
@@ -24,16 +24,17 @@ pmgupgrade - Upgrade Proxmox Mail Gateway
 :pmg-toplevel:
 endif::manvolnum[]
 
-This is a small wrapper around `apt-get dist-upgrade`. We use this to
-print additional information (kernel restart required?), and
-optionally run an interactive shell after the update. It is
-invoked when starting an upgrade using the web GUI.
+This is a small wrapper around `apt full-upgrade`. We use this to print
+additional information, like when a node reboot due to a kernel update is
+required. Additionally, it can run an interactive shell after the update, this
+is used when starting an upgrade using the web GUI.
 
 If you are already logged in on the console, it is preferable to invoke
-`apt-get` directly.
+`apt` directly.
 
 ----
-# apt-get dist-upgrade
+# apt update
+# apt full-upgrade
 ----
 
 ifdef::manvolnum[]