[php-maint] Bug#720053: php5-json: fails to upgrade from 'wheezy' - trying to overwrite /usr/include/php5/ext/json/php_json.h

Andreas Beckmann anbe at debian.org
Sat Aug 17 22:23:33 UTC 2013

Package: php5-json
Version: 1.3.1+dfsg-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts


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

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

  Selecting previously unselected package php5-json.
  Unpacking php5-json (from .../php5-json_1.3.1+dfsg-2_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/php5-json_1.3.1+dfsg-2_amd64.deb (--unpack):
   trying to overwrite '/usr/include/php5/ext/json/php_json.h', which is also in package php5-dev 5.4.4-14+deb7u2
  Errors were encountered while processing:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: php5-dev=5.4.4-14+deb7u2_php5-json=1.3.1+dfsg-2.log.gz
Type: application/x-gzip
Size: 10619 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20130818/e6621875/attachment.bin>

More information about the pkg-php-maint mailing list