Bug#931849: python3-os-collect-config: missing Breaks+Replaces: python-os-collect-config

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#931849: python3-os-collect-config: missing Breaks+Replaces: python-os-collect-config

Andreas Beckmann-4
Package: python3-os-collect-config
Version: 10.3.0-1
Severity: serious
User: [hidden email]
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

From the attached log (scroll to the bottom...):

  Selecting previously unselected package python3-os-collect-config.
  Preparing to unpack .../92-python3-os-collect-config_10.3.0-1_all.deb ...
  Unpacking python3-os-collect-config (10.3.0-1) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-4JVFdF/92-python3-os-collect-config_10.3.0-1_all.deb (--unpack):
   trying to overwrite '/usr/bin/os-collect-config', which is also in package python-os-collect-config 0.1.15-1
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-4JVFdF/92-python3-os-collect-config_10.3.0-1_all.deb


cheers,

Andreas