[pbs-devel] [PATCH proxmox] apt: add fix up for debian trixie security repository
Shannon Sterz
s.sterz at proxmox.com
Wed Aug 27 16:52:07 CEST 2025
otherwise all components of the repository will be skipped when
mirroring.
Signed-off-by: Shannon Sterz <s.sterz at proxmox.com>
---
proxmox-apt/src/deb822/release_file.rs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/proxmox-apt/src/deb822/release_file.rs b/proxmox-apt/src/deb822/release_file.rs
index dbf1a367..071ccfe4 100644
--- a/proxmox-apt/src/deb822/release_file.rs
+++ b/proxmox-apt/src/deb822/release_file.rs
@@ -350,7 +350,10 @@ impl TryFrom<ReleaseFileRaw> for ReleaseFile {
// Fixup bullseye+-security release files which have invalid components
let codename = parsed.codename.as_deref();
if parsed.label.as_deref() == Some("Debian-Security")
- && (codename == Some("bullseye-security") || codename == Some("bookworm-security"))
+ && matches!(
+ codename,
+ Some("bullseye-security") | Some("bookworm-security") | Some("trixie-security")
+ )
{
parsed.components = parsed
.components
--
2.47.2
More information about the pbs-devel
mailing list