From db85dc1b7a6f510a62663583d13cb6701bad9dbe Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 17 Aug 2022 13:13:47 +0200 Subject: [PATCH] common: add versioned Breaks Signed-off-by: Wolfgang Bumiller --- common/pkg/debian/control | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/pkg/debian/control b/common/pkg/debian/control index adc10c2..4c7ee66 100644 --- a/common/pkg/debian/control +++ b/common/pkg/debian/control @@ -12,12 +12,16 @@ Rules-Requires-Root: no Package: libproxmox-rs-perl Architecture: any +# always bump both versioned Depends and Breaks, otherwise systems with both +# libpmg-rs-perl and libpve-rs-perl might load an outdated lib and break Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, libpve-rs-perl (>= 0.7.0) | libpmg-rs-perl (>= 0.6.0), -Breaks: libpve-rs-perl (<< 0.6.0) +Breaks: + libpve-rs-perl (<< 0.7.0), + libpmg-rs-perl (<< 0.6.0), Replaces: libpve-rs-perl (<< 0.6.0) Description: PVE/PMG common parts which have been ported to Rust - Perl packages Contains the perl side of modules provided by the libraries of both libpve-rs-perl and