Package: pcp-doc Version: 6.0.3-1 Severity: serious Justification: dpkg unpack error
Attempting to unpack pcp-doc/6.0.3-1 from Debian bookworm on a minimal Debian bullseye with pcp/5.2.6-1 installed, causes an unpack error from dpkg due to /usr/share/pcp/examples/pcp2spark/PCP2SparkStreamCollector.python being contained in both packages. | Selecting previously unselected package pcp-doc. | dpkg: considering deconfiguration of pcp, which would be broken by installation of pcp-doc ... | dpkg: yes, will deconfigure pcp (broken by pcp-doc) | (Reading database ... 10064 files and directories currently installed.) | Preparing to unpack ./pcp-doc_6.0.3-1_all.deb ... | De-configuring pcp (5.2.6-1) ... | invoke-rc.d: could not determine current runlevel | invoke-rc.d: policy-rc.d denied execution of stop. | invoke-rc.d: could not determine current runlevel | invoke-rc.d: policy-rc.d denied execution of stop. | invoke-rc.d: could not determine current runlevel | invoke-rc.d: policy-rc.d denied execution of stop. | invoke-rc.d: could not determine current runlevel | invoke-rc.d: policy-rc.d denied execution of stop. | Unpacking pcp-doc (6.0.3-1) ... | dpkg: error processing archive ./pcp-doc_6.0.3-1_all.deb (--unpack): | trying to overwrite '/usr/share/pcp/examples/pcp2spark/PCP2SparkStreamCollector.python', which is also in package pcp 5.2.6-1 | invoke-rc.d: could not determine current runlevel | invoke-rc.d: policy-rc.d denied execution of start. | invoke-rc.d: could not determine current runlevel | invoke-rc.d: policy-rc.d denied execution of start. | Errors were encountered while processing: | ./pcp-doc_6.0.3-1_all.deb Please ensure that pcp-doc has sufficient Breaks and Replaces declarations. Helmut