From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 8B9751FF13C for ; Thu, 11 Jun 2026 15:59:25 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3FE04C9A5; Thu, 11 Jun 2026 15:59:23 +0200 (CEST) From: Nicolas Frey To: pve-devel@lists.proxmox.com Subject: [PATCH pve-docs 1/2] software updates: use apt instead of apt-get Date: Thu, 11 Jun 2026 15:58:46 +0200 Message-ID: <20260611135847.276100-2-n.frey@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260611135847.276100-1-n.frey@proxmox.com> References: <20260611135847.276100-1-n.frey@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.139 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy 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 RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS 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. [ubuntu.com] Message-ID-Hash: SPIPGQRVBUGKY5QHVQWB45N24TMHRGTG X-Message-ID-Hash: SPIPGQRVBUGKY5QHVQWB45N24TMHRGTG X-MailFrom: nfrey@miso.proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: and use full-upgrade instead of dist-upgrade. although in pveupgrade we still use `apt-get dist-upgrade`, the user facing doc should use apt, as: * apt-get is normally used if you want a stable interface, e.g. for scripts * if {apt,apt-get} upgrade is run instead of {apt,apt-get} dist-upgrade, the potential for a partially-upgraded package state is lower with apt, as it can install new packages - if needed - to satisfy dependencies full-upgrade is used as it is the preferred term for apt (see `man apt`). also, it isn't *only* used to upgrade between dist releases, so full-upgrade is clearer As a reference to these claims, see: https://lists.ubuntu.com/archives/ubuntu-users/2025-September/314942.html Signed-off-by: Nicolas Frey --- system-software-updates.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system-software-updates.adoc b/system-software-updates.adoc index e6bf356..32afac1 100644 --- a/system-software-updates.adoc +++ b/system-software-updates.adoc @@ -9,15 +9,15 @@ 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 full-upgrade ---- For occasionally upgrading Ceph to its succeeding major release, see xref:sysadmin_package_repositories_ceph[Ceph Repositories]. 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.47.3