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