[pve-devel] applied: [PATCH proxmox-perl-rs] common: d/control: break/replace libpve-rs-perl (<< 0.6.0)

Thomas Lamprecht t.lamprecht at proxmox.com
Tue May 10 07:16:23 CEST 2022


Am 5/9/22 um 12:17 schrieb Stoiko Ivanov:
> libproxmox-rs-perl ships /usr/share/perl5/PVE/RS/CalendarEvent.pm,
> which was also present in libpve-rs-perl until version 0.5.1
> 
> This can lead to a (racy) issue while upgrading - depending
> on which of libproxmox-rs-perl or libpve-rs-perl gets unpacked first
> we potentially run into:
> ```
> dpkg: error processing archive \
> /tmp/apt-dpkg-install-lNBzMn/48-libproxmox-rs-perl_0.1.0_amd64.deb (--unpack):
>  trying to overwrite '/usr/share/perl5/PVE/RS/CalendarEvent.pm', \
>  which is also in package libpve-rs-perl 0.5.1
> ```
> 
> This patch follows the debian policy manual for these situations:
> https://www.debian.org/doc/debian-policy/ch-relationships.html#s-breaks
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> Sadly was not able to trigger this issue on any of my systems (and a VM with
> a fresh 7.1 ISO install).
> 
>  common/pkg/debian/control | 2 ++
>  1 file changed, 2 insertions(+)
> 
>

applied, thanks!





More information about the pve-devel mailing list