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

Andreas Beckmann anbe at debian.org
Thu Mar 5 19:37:21 UTC 2015


Control: reassign -1 libjnr-constants-java 0.8.6-2
Control: found -1 0.8.6-3
Control: affects -1 + libconstantine-java

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.


Andreas



More information about the pkg-java-maintainers mailing list