From: Shannon Sterz <s.sterz@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH datacenter-manager bookworm v4 3/3] api/apt: set `proxmox-datacenter-manager` as pdm's virtual package
Date: Wed, 10 Sep 2025 12:22:43 +0200 [thread overview]
Message-ID: <20250910102240.107012-7-s.sterz@proxmox.com> (raw)
In-Reply-To: <20250910102240.107012-3-s.sterz@proxmox.com>
pdm currently has no virtual meta package, so the previous parameters
here returned an unknown package, as `proxmox-datacenter` does not
exist. by replacing it with `proxmox-datacenter-manager` we get the
same package information returned twice. except, `ExtraInfo` will
contain the running kernel version for the first package and the
running api version for the second. however, that is preferable over
confusingly returning `unknown` here for every field (except, for
`ExtraInfo` and `Package`).
Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
server/src/api/nodes/apt.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/api/nodes/apt.rs b/server/src/api/nodes/apt.rs
index d54b0a6..f14bf78 100644
--- a/server/src/api/nodes/apt.rs
+++ b/server/src/api/nodes/apt.rs
@@ -178,7 +178,7 @@ pub fn get_versions() -> Result<Vec<APTUpdateInfo>, Error> {
let running_daemon_version = format!("running version: {version}.{release}");
proxmox_apt::get_package_versions(
- "proxmox-datacenter",
+ "proxmox-datacenter-manager",
"proxmox-datacenter-manager",
&running_daemon_version,
PACKAGES,
--
2.47.3
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
next prev parent reply other threads:[~2025-09-10 10:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-10 10:22 [pdm-devel] [PATCH datacenter-manager bookworm v4 0/3] version command and upgrade checks for pdm Shannon Sterz
2025-09-10 10:22 ` [pdm-devel] [PATCH datacenter-manager bookworm v4 1/3] server: add pdmAtoB upgrade checker script Shannon Sterz
2025-09-10 10:22 ` [pdm-devel] [PATCH datacenter-manager bookworm v4 2/3] cli/admin: add a versions command to show current package versions Shannon Sterz
2025-09-10 10:22 ` Shannon Sterz [this message]
2025-09-10 11:07 ` [pdm-devel] applied-series: [PATCH datacenter-manager bookworm v4 0/3] version command and upgrade checks for pdm Wolfgang Bumiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250910102240.107012-7-s.sterz@proxmox.com \
--to=s.sterz@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.