From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id D1BC41FF13C for ; Thu, 11 Jun 2026 15:36:31 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6FB55B755; Thu, 11 Jun 2026 15:36:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1781183526; bh=ZAHtvveiWUY9AfbDoltC+lnIVrP1xYS8NM+PYw1mFzI=; h=From:To:Cc:Subject:Date; b=YjzwbfvVu4Mrx0aW9vMySPN95Pcj3fJlfmHQmHgtoptMdEFEbNU1FG8C1/wnJpk4N sKr6wTquM6SMdgXiMyeGbvM9eI+jD6wmlI3Av7qXSgy48xFCR/x83ZFLNeEwabYdWR pSvnApI6aaMgfPdEj9bWNLq7UDoEUUiI+n6UDguk= X-QQ-mid: xmsmtpt1781182565tvfr55k9d Message-ID: X-QQ-XMAILINFO: M6orjV7wRPQLpYZkFijyffS01BdsKkWvBgbEFUK10HPZezh1gNyOkJL34DB0V6 /tE4NdXnS52Zbqsw+GiN259bcdxZ9m/+I7fkjxVfURD0DH0vN2S+gHTPy6+HQ7Oj50wWrVohH7HA nwEx5qK2pDr1JWK6fkMwtF5Sjkbasr0I7ugJ+1J6DzMb/XL+c9diCzsnKKvJarFs4DW9boMVm5zJ 9Wwh0bwurx2wG4EBbjpHqCQQFpjG8gVAogtxsFl4eU7qTT0khBdCwiWr9Ftq7ItTA8jPSygo9TpY SDHPUn6c+adEo8Dclpel5HqD2VlbGXnta66Y2MpIWpzvnNHbPJXvAEMshV9GJhOoffBRCBDKZTFl 2sd1f2E+5E0+BW+sGdZIJacYaTfUcNowixZnJAz8gRPUq9pepi/PAQx0+Pu/5zY1KCEFafVajttd 7SwAXf56gMd2aPfR+Y0IQ0NXXh5pUEjA/I2duuGvzpPD5ysIe26xyU+o0VlnW99PyRDqXqoQnsOr UFgMs28sepy7v/jujfRqh06GiDcaB9KzPrJThYatHEsL9/+0UVpOycMu3yj7oAUB6rCB18w2cprd fjnhb29c/8H1pymsk+R3iYPvPbW4RmGH21dUr7ELToPWk6QR1BFacVx7ugtyPckAvPkIMgl9YBF/ 87HY+t2RlN5OiUhDpImJfbTBHwToFyEkdenDF6p0WbOZAAec1nTOFDyPwqndjvyTFYr80b6zhyrw pYc5mtCsbp85DnUeg27OT5llqj+O/S6LxwmkdgX8YjoAg3x7ywWXXOo/xeIV6D2c+hhoRFdHl2QZ uaYL8RW2uRqSohr8qo6bprK8/PfN1JAy/0VRh/Jf2kMZ2jMyubeT6hlNtjgpvSexC4HJ+3RTJjIg R0jlnMPMICcu8PA8eom6htO2798DciHk7Cz2ajyrUi3OQohT/rj7Ioe3+rmlrz9pSUTRMp+KR/CC QEvsvkHB5gD5bGpTAwVzJnUi3dRIgWNwSDOAwW75pam44Ua55mSTEVmbSfztAKUTy5noCpemYg7c 249Ncf+2g6ixIftbaDshqXHhgAdyAVaKzIq0/bVo7XQA/sL64O7C+5RFw4qxmECLReKxdgbJcTYZ hfksSP1KsE75mN0dlEb/jSPVxAlsJvSkKY1765tPefCSUjKYrClaLvl55ZDBBqjQGPt5Kf7UDPx6 gXFWc6jG3ym3Qk0Q== X-QQ-XMRINFO: OWPUhxQsoeAVwkVaQIEGSKwwgKCxK/fD5g== From: oneway1024 To: pve-devel@lists.proxmox.com Subject: [PATCH manager] pveceph: Multi-architecture support for ceph package detection Date: Thu, 11 Jun 2026 20:56:02 +0800 X-OQ-MSGID: <20260611125602.3308969-1-oneway1024@foxmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy FREEMAIL_ENVFROM_END_DIGIT 1 Envelope-from freemail username ends in digit FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider HELO_STATIC_HOST -0.001 Relay HELO'd using static hostname RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches 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. [pveceph.pm,foxmail.com] X-MailFrom: oneway1024@foxmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation Message-ID-Hash: 5O76AORJKMOO56GRX3BLFZA52GDYKFMA X-Message-ID-Hash: 5O76AORJKMOO56GRX3BLFZA52GDYKFMA X-Mailman-Approved-At: Thu, 11 Jun 2026 15:36:33 +0200 CC: oneway1024 X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Remove hardcoded amd64 architecture suffix when looking up ceph-common versions. This change allows pveceph to work on all supported architectures, not just x86_64. Signed-off-by: oneway1024 --- PVE/CLI/pveceph.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/CLI/pveceph.pm b/PVE/CLI/pveceph.pm index e74a81eb..1fe75174 100755 --- a/PVE/CLI/pveceph.pm +++ b/PVE/CLI/pveceph.pm @@ -257,7 +257,7 @@ EOF if ($repo eq "manual") { my $apt_cache = AptPkg::Cache->new() || die "unable to initialize AptPkg::Cache\n"; - my @ceph_versions = $apt_cache->{'ceph-common:amd64'}->{'VersionList'}->@*; + my @ceph_versions = $apt_cache->{'ceph-common'}->{'VersionList'}->@*; my $latest_available = $ceph_versions[0]->{'VerStr'}; my $selected_version = PVE::Ceph::Releases::get_ceph_release_info($cephver)->{'release'}; -- 2.43.0