Le 6 juin 2012 à 12:37, Andreas Beckmann a écrit : > during a test with piuparts I noticed your package fails to upgrade from > 'wheezy'. > It installed fine in 'wheezy', then the upgrade to 'sid' 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 > >> From the attached log (scroll to the bottom...): > > Preparing to replace freemedforms-freedata 0.7.1-1 (using > .../freemedforms-freedata_0.7.4-1_all.deb) ... > Unpacking replacement freemedforms-freedata ... > dpkg: error processing > /var/cache/apt/archives/freemedforms-freedata_0.7.4-1_all.deb (--unpack): > trying to overwrite > '/usr/share/freemedforms/sql/account/insurances_fr_FR.csv', which is also in > package freemedforms-emr-resources 0.7.1-1 > dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Hi,
I need some help.
The problem is the following: freemedforms-emr-resources_0.7.1-1 included some
files that were moved in the freemedforms-freedata_0.7.4-1. The freedata is not
a replacement of the emr-resources.
So now, the freedata breaks the emr-resources. And I should manage this by
adding:
Package: freemedforms-emr-resources
Architecture: all
Depends: ${misc:Depends}
Description: Data for the FreeMedForms EMR
Breaks: freemedforms-data (< $(binary:Version)
Conflicts: freemedforms-data (< $(binary:Version)
Is that right ?
Eric
PGP.sig
Description: Ceci est une signature électronique PGP

