[pve-devel] [PATCH pve-manager 1/1] api: apt: add 'all' option to Arch property
Nicolas Frey
n.frey at proxmox.com
Thu Nov 6 09:54:23 CET 2025
The `all` architecture is defined for e.g. all proxmox perl packages,
so add it to the enum.
This would lead to an error in the update view in PDM:
[...] failed to parse api response: unknown variant `all` [...]
Reported-by: Lukas Wagner <l.wagner at proxmox.com>
Signed-off-by: Nicolas Frey <n.frey at proxmox.com>
---
PVE/API2/APT.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/API2/APT.pm b/PVE/API2/APT.pm
index 1ccbaf97..395ce070 100644
--- a/PVE/API2/APT.pm
+++ b/PVE/API2/APT.pm
@@ -204,7 +204,7 @@ my $apt_package_return_props = {
Arch => {
type => 'string',
description => 'Package Architecture.',
- enum => [qw(armhf arm64 amd64 ppc64el risc64 s390x)],
+ enum => [qw(armhf arm64 amd64 ppc64el risc64 s390x all)],
},
Description => {
type => 'string',
--
2.47.3
More information about the pve-devel
mailing list