[php-maint] Bug#799711: php7.0-cli: fails to upgrade from 'sid' - trying to overwrite /usr/share/man/man1/phar.1.gz

Andreas Beckmann anbe at debian.org
Mon Sep 21 18:06:12 UTC 2015

Package: php7.0-cli
Version: 7.0.0~rc1-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts


during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at

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

  Selecting previously unselected package php7.0-cli.
  Preparing to unpack .../php7.0-cli_7.0.0~rc1-1_amd64.deb ...
  Unpacking php7.0-cli (7.0.0~rc1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/php7.0-cli_7.0.0~rc1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/share/man/man1/phar.1.gz', which is also in package php5-cli 5.6.13+dfsg-2
  Errors were encountered while processing:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: php5-cli=5.6.13+dfsg-2_php7.0-cli=7.0.0~rc1-1.log.gz
Type: application/gzip
Size: 21342 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20150921/3cbab246/attachment-0001.bin>

More information about the pkg-php-maint mailing list