Bug#779112: closed by Tim Potter <tpot at hp.com> (Bug#779112: fixed in jnr-constants 0.8.6-3)

Potter, Tim (Cloud Services) timothy.potter at hp.com
Fri Mar 6 01:13:48 UTC 2015


On 6/03/15 6:37 AM, "Andreas Beckmann" <anbe at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5480 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20150306/ed1deade/attachment-0001.bin>


More information about the pkg-java-maintainers mailing list