[Debian-on-mobile-maintainers] Bug#1029508: pnc: missing Breaks+Replaces: pn

Andreas Beckmann anbe at debian.org
Mon Jan 23 14:10:27 GMT 2023


Package: pnc
Version: 0.9.4-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install
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...):

  Preparing to unpack .../archives/pnc_0.9.4-1_amd64.deb ...
  Unpacking pnc (0.9.4-1) ...
  dpkg: error processing archive /var/cache/apt/archives/pnc_0.9.4-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/gawk/gawkpn.so', which is also in package pn 0.9.0-1+b3
  Errors were encountered while processing:
   /var/cache/apt/archives/pnc_0.9.4-1_amd64.deb

Since pnc is taking over pn, the Breaks+Replaces can be unversioned.

Please also file a RM bug for src:pn


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pn=0.9.0-1+b3_pnc=0.9.4-1.log.gz
Type: application/gzip
Size: 7295 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20230123/c2ce5db5/attachment.gz>


More information about the Debian-on-mobile-maintainers mailing list