From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id BD15F5B5EF for ; Tue, 7 Jul 2020 12:27:03 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id BC07626ACD for ; Tue, 7 Jul 2020 12:27:03 +0200 (CEST) Received-SPF: none (sara.proxmox.com: No applicable sender policy available) receiver=firstgate.proxmox.com; identity=mailfrom; envelope-from="moayad@sara.proxmox.com"; helo=sara.proxmox.com; client-ip=212.186.127.178 Received: from sara.proxmox.com (212-186-127-178.static.upcbusiness.at [212.186.127.178]) by firstgate.proxmox.com (Proxmox) with ESMTP id 401A826ABC for ; Tue, 7 Jul 2020 12:27:02 +0200 (CEST) Received: by sara.proxmox.com (Postfix, from userid 1000) id 05AA936B4D3; Tue, 7 Jul 2020 12:20:03 +0200 (CEST) From: Moayad Almalat To: pve-devel@pve.proxmox.com Date: Tue, 7 Jul 2020 12:20:01 +0200 Message-Id: <20200707102001.124244-2-m.almalat@proxmox.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200707102001.124244-1-m.almalat@proxmox.com> References: <20200707102001.124244-1-m.almalat@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 1 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods KHOP_HELO_FCRDNS 0.275 Relay HELO differs from its IP's reverse DNS NO_DNS_FOR_FROM 0.379 Envelope sender has no MX or A DNS records SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [open-iscsi.org] X-Mailman-Approved-At: Tue, 07 Jul 2020 12:27:58 +0200 Subject: [pve-devel] [PATCH pve-docs 1/1] Close #1623: replace apt-get to apt X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: PVE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2020 10:27:03 -0000 Signed-off-by: Moayad Almalat --- local-zfs.adoc | 4 ++-- pve-firewall.adoc | 2 +- pve-installation.adoc | 4 ++-- pve-package-repos.adoc | 2 +- pve-storage-iscsi.adoc | 2 +- qm-cloud-init.adoc | 2 +- system-software-updates.adoc | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/local-zfs.adoc b/local-zfs.adoc index fd03e89..0271510 100644 --- a/local-zfs.adoc +++ b/local-zfs.adoc @@ -333,10 +333,10 @@ Activate E-Mail Notification ZFS comes with an event daemon, which monitors events generated by the ZFS kernel module. The daemon can also send emails on ZFS events like pool errors. Newer ZFS packages ship the daemon in a separate package, -and you can install it using `apt-get`: +and you can install it using `apt`: ---- -# apt-get install zfs-zed +# apt install zfs-zed ---- To activate the daemon it is necessary to edit `/etc/zfs/zed.d/zed.rc` with your diff --git a/pve-firewall.adoc b/pve-firewall.adoc index 7089778..f286018 100644 --- a/pve-firewall.adoc +++ b/pve-firewall.adoc @@ -573,7 +573,7 @@ Rejected/Dropped firewall packets don't go to the IPS. Install suricata on proxmox host: ---- -# apt-get install suricata +# apt install suricata # modprobe nfnetlink_queue ---- diff --git a/pve-installation.adoc b/pve-installation.adoc index 0d416ac..5129c14 100644 --- a/pve-installation.adoc +++ b/pve-installation.adoc @@ -291,8 +291,8 @@ xref:sysadmin_package_repositories[After configuring the repositories] you need to run the following commands: ---- -# apt-get update -# apt-get install proxmox-ve +# apt update +# apt install proxmox-ve ---- Installing on top of an existing Debian installation looks easy, but it presumes diff --git a/pve-package-repos.adoc b/pve-package-repos.adoc index 4fcf147..34d1700 100644 --- a/pve-package-repos.adoc +++ b/pve-package-repos.adoc @@ -13,7 +13,7 @@ defined in the file `/etc/apt/sources.list` and in `.list` files placed in Each line defines a package repository. The preferred source must come first. Empty lines are ignored. A `#` character anywhere on a line marks the remainder of that line as a comment. The available packages from a repository are acquired -by running `apt-get update`. Updates can be installed directly using `apt-get`, +by running `apt update`. Updates can be installed directly using `apt`, or via the GUI. .File `/etc/apt/sources.list` diff --git a/pve-storage-iscsi.adoc b/pve-storage-iscsi.adoc index 93975f5..4fcfb92 100644 --- a/pve-storage-iscsi.adoc +++ b/pve-storage-iscsi.adoc @@ -19,7 +19,7 @@ http://www.open-iscsi.org/[Open-iSCSI] (`open-iscsi`) package. This is a standard Debian package, but it is not installed by default to save resources. - # apt-get install open-iscsi + # apt install open-iscsi Low-level iscsi management task can be done using the `iscsiadm` tool. diff --git a/qm-cloud-init.adoc b/qm-cloud-init.adoc index 895db9f..6744ccf 100644 --- a/qm-cloud-init.adoc +++ b/qm-cloud-init.adoc @@ -45,7 +45,7 @@ Simply install the Cloud-Init packages inside the VM that you want to prepare. On Debian/Ubuntu based systems this is as simple as: ---- -apt-get install cloud-init +apt install cloud-init ---- Already many distributions provide ready-to-use Cloud-Init images (provided diff --git a/system-software-updates.adoc b/system-software-updates.adoc index 013e171..f0df410 100644 --- a/system-software-updates.adoc +++ b/system-software-updates.adoc @@ -8,12 +8,12 @@ Proxmox provides updates on a regular basis for all repositories. To install updates use the web-based GUI or the following CLI commands: ---- -# apt-get update -# apt-get dist-upgrade +# apt update +# apt dist-upgrade ---- NOTE: The APT package management system is very flexible and provides many -features, see `man apt-get`, or <> for additional information. +features, see `man apt`, or <> for additional information. TIP: Regular updates are essential to get the latest patches and security related fixes. Major system upgrades are announced in the {forum}. -- 2.20.1