Package: netdata-plugins-python
Version: 1.29.3-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: found -1 1.17.0-1
Control: affects -1 + netdata

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'buster'.
It installed fine in 'buster', then the upgrade to 'bullseye' 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

There is already a
  Breaks: netdata-core (<< 1.17.0-1~)
but the corresponding Replaces is missing.

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

  dpkg: considering deconfiguration of netdata-core, which would be broken by 
installation of netdata-plugins-python ...
  dpkg: yes, will deconfigure netdata-core (broken by netdata-plugins-python)
  Preparing to unpack .../05-netdata-plugins-python_1.29.3-3_all.deb ...
  De-configuring netdata-core (1.12.0-1+deb10u1) ...
  Unpacking netdata-plugins-python (1.29.3-3) over (1.12.0-1+deb10u1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-zPr8Bl/05-netdata-plugins-python_1.29.3-3_all.deb 
(--unpack):
   trying to overwrite '/usr/lib/netdata/conf.d/health.d/mongodb.conf', which 
is also in package netdata-core 1.12.0-1+deb10u1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  invoke-rc.d: could not determine current runlevel
  invoke-rc.d: policy-rc.d denied execution of restart.
  dpkg: considering deconfiguration of netdata-plugins-bash, which would be 
broken by installation of netdata-core ...
  dpkg: yes, will deconfigure netdata-plugins-bash (broken by netdata-core)
  dpkg: considering deconfiguration of netdata-plugins-python, which would be 
broken by installation of netdata-core ...
  dpkg: yes, will deconfigure netdata-plugins-python (broken by netdata-core)
  Preparing to unpack .../06-netdata-core_1.29.3-3_amd64.deb ...
  De-configuring netdata-plugins-python (1.12.0-1+deb10u1) ...
  De-configuring netdata-plugins-bash (1.12.0-1+deb10u1) ...
  Unpacking netdata-core (1.29.3-3) over (1.12.0-1+deb10u1) ...
  Preparing to unpack .../07-netdata-plugins-bash_1.29.3-3_all.deb ...
  Unpacking netdata-plugins-bash (1.29.3-3) over (1.12.0-1+deb10u1) ...
  Selecting previously unselected package libpython3.9-minimal:amd64.
  Preparing to unpack .../08-libpython3.9-minimal_3.9.2-1_amd64.deb ...
  Unpacking libpython3.9-minimal:amd64 (3.9.2-1) ...
  Preparing to unpack .../09-libexpat1_2.2.10-2_amd64.deb ...
  Unpacking libexpat1:amd64 (2.2.10-2) over (2.2.6-2+deb10u1) ...
  Selecting previously unselected package python3.9-minimal.
  Preparing to unpack .../10-python3.9-minimal_3.9.2-1_amd64.deb ...
  Unpacking python3.9-minimal (3.9.2-1) ...
  Preparing to unpack .../11-python3-yaml_5.3.1-3+b1_amd64.deb ...
  Unpacking python3-yaml (5.3.1-3+b1) over (3.13-2) ...
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-zPr8Bl/05-netdata-plugins-python_1.29.3-3_all.deb

cheers,

Andreas

Attachment: netdata_1.29.3-3.log.gz
Description: application/gzip

Reply via email to