Package: php-sparkline
Version: 2.2.0-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

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

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

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

  Preparing to unpack .../php-sparkline_2.2.0-1_all.deb ...
  Unpacking php-sparkline (2.2.0-1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/php-sparkline_2.2.0-1_all.deb (--unpack):
   trying to overwrite '/usr/share/php/sparkline/Sparkline.php', which is also 
in package libsparkline-php 0.2-7
  Errors were encountered while processing:
   /var/cache/apt/archives/php-sparkline_2.2.0-1_all.deb

The predecessor package libsparkline-php only existed up to
bullseye, therefore the Breaks+Replaces can be unversioned.


cheers,

Andreas

Attachment: libsparkline-php=0.2-7_php-sparkline=2.2.0-1.log.gz
Description: application/gzip

Reply via email to