Package: libpcscada2-dev
Version: 0.7.1-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + pcscada-dbg

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 'pcscada-dbg'
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 libpcscada2-dev.
  Unpacking libpcscada2-dev (from .../libpcscada2-dev_0.7.1-3_amd64.deb) ...
  dpkg: error processing 
/var/cache/apt/archives/libpcscada2-dev_0.7.1-3_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/ada/adalib/pcscada/pcsc-scard-conversion.ali', 
which is also in package libpcscada1-dev 0.6-2

Package: libpcscada2-dev
Source: pcscada
Version: 0.7.1-3
Depends: libpcscada0.7.1 (= 0.7.1-3), libpcsclite-dev (>= 1.4.0), gnat, gnat-4.6

You should probably add
  Breaks/Replaces: libpcscada1-dev
to ensure the obsolete package gets removed during the upgrade.


cheers,

Andreas

Attachment: pcscada-dbg_0.7.1-3.log.gz
Description: GNU Zip compressed data

Reply via email to