Bug#1131352: libhydrasdr1: Undeclared file conflict: trying to overwrite '/usr/share/metainfo/com.hydrasdr.hydrasdr-tools.metainfo.xml', which is also in package libhydrasdr0:amd64 (1.0.3-1)

Axel Beckert <[email protected]>
Newsgroups gmane.linux.debian.devel.ham
Message-ID <871phefvms.fsf__36689.2545994901$1774015765$gmane$org@c6.deuxchevaux.org>
Package: libhydrasdr1
Version: 1.1.0-2
Severity: serious

Dear Maintainer,

trying to upgrade hydrasdr-tools from version 1.0.3-1 (source package
rfone-host) to 1.1.0-2 (source package hydrasdr-host) pulls in
libhydrasdr1 instead of libhydrasdr0, but they share at least one file
and this file conflict is not declared using Breaks and Replaces headers
in the binary package as needed for apt and dpkg to properly handle that
case:

Preparing to unpack .../libhydrasdr1_1.1.0-2_amd64.deb ...
Unpacking libhydrasdr1:amd64 (1.1.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libhydrasdr1_1.1.0-2_amd64.deb (--unpack):
 trying to overwrite '/usr/share/metainfo/com.hydrasdr.hydrasdr-tools.metainfo.xml', which is also in package libhydrasdr0:amd64 (1.0.3-1)
Errors were encountered while processing:
 /var/cache/apt/archives/libhydrasdr1_1.1.0-2_amd64.deb

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.17.12+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.