[pkg-php-pear] Bug#673807: phpunit-mock-object: fails to upgrade from 'testing' - trying to overwrite /usr/share/php/PHPUnit/Framework/MockObject/Builder/Namespace.php

Andreas Beckmann debian at abeckmann.de
Mon May 21 14:29:20 UTC 2012

Package: phpunit-mock-object
Version: 1.1.1-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
It installed fine in 'testing', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
replaces relation.

See policy 7.6 at

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

  Selecting previously unselected package phpunit-mock-object.
  Unpacking phpunit-mock-object (from .../phpunit-mock-object_1.1.1-1_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/phpunit-mock-object_1.1.1-1_all.deb (--unpack):
   trying to overwrite '/usr/share/php/PHPUnit/Framework/MockObject/Builder/Namespace.php', which is also in package phpunit 3.4.14-1
  Preparing to replace phpunit 3.4.14-1 (using .../phpunit_3.6.10-1_all.deb) ...
  Unpacking replacement phpunit ...
  Errors were encountered while processing:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: phpunit_3.6.10-1.log.gz
Type: application/x-gzip
Size: 9276 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20120521/9ba7f309/attachment.bin>

More information about the pkg-php-pear mailing list