Package: libahven3-dev
Version: 2.1-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

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

See policy 7.6 at
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

This problem is exposed during the upgrade of the 'EXPOSER'
package, not by upgrading only the buggy package itself.
In order to have piuparts automatically track this problem, I'll mark
this bug as Affects/Found in the exposing package(s), too.

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

  Selecting previously deselected package libahven3-dev.
  Unpacking libahven3-dev (from .../libahven3-dev_2.1-3_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/libahven3-dev_2.1-3_amd64.deb 
(--unpack):
   trying to overwrite '/usr/lib/libahven.a', which is also in package 
libahven1-dev 1.7-2


Package: libahven3-dev
Source: ahven
Version: 2.1-3
Replaces: libahven2-dev
Depends: libahven21.0 (= 2.1-3), gnat, gnat-4.6
Conflicts: libahven2-dev


You should probably add a
   Conflicts/Replaces: libahven1-dev
too.


cheers,

Andreas

Attachment: ahven-dbg_2.1-3.log.gz
Description: GNU Zip compressed data

Reply via email to