Package: librem5-tweaks,pinephone-tweaks,pinetab-tweaks
Version: 2
Severity: serious
User: debian...@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 .../pinephone-tweaks_2_all.deb ...
  Unpacking pinephone-tweaks (2) ...
  dpkg: error processing archive 
/var/cache/apt/archives/pinephone-tweaks_2_all.deb (--unpack):
   trying to overwrite '/etc/machine-info', which is also in package 
librem5-tweaks 2
  Errors were encountered while processing:
   /var/cache/apt/archives/pinephone-tweaks_2_all.deb

Assuming that these packages are not meant for co-installability
(and therefore alternatives are not a sensible option), probably
the best solution would be to introduce a new virtual package
and have all three (currently, perhaps more in the future)
  Conflicts+Replaces+Provides: the-new-virtual-package


cheers,

Andreas

Attachment: librem5-tweaks=2_pinephone-tweaks=2.log.gz
Description: application/gzip

Reply via email to