On 6/03/15 6:37 AM, "Andreas Beckmann" <a...@debian.org> wrote:

>On 2015-03-05 04:21, Debian Bug Tracking System wrote:
>>    * Change dependency on libconstantine-java to Conflicts, from
>>      Breaks. (Closes: #779112).
>
>No. Breaks should have been sufficient, but you are still missing a
>Replaces.
>
>  Selecting previously unselected package libconstantine-java.
>  Preparing to unpack .../libconstantine-java_0.8.5-1_all.deb ...
>  Unpacking libconstantine-java (0.8.5-1) ...
>  dpkg: error processing archive
>/var/cache/apt/archives/libconstantine-java_0.8.5-1_all.deb (--unpack):
>   trying to overwrite '/usr/share/java/jnr-constants.jar', which is also
>in package libjnr-constants-java 0.8.6-3
>  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
>  Errors were encountered while processing:
>   /var/cache/apt/archives/libconstantine-java_0.8.5-1_all.deb
>
>Or wait, the changelog wording mislead me. The versioning is wrong:
>
>Replaces: libconstantine-java (<< 0.8.5-1)
>Provides: libconstantine-java
>Conflicts: libconstantine-java (<< 0.8.5-1)
>
>In your case you either want unversioned Conflicts+Replaces
>or (>= 0.8.5) instead.

Nuts - thanks for pointing that out, and sorry for not actually testing my
fix since it's trivially easy to do so.  Changing the versioning as you
describe does the job and I've verified this is the case before uploading
it again.


Regards,

Tim.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to