Bug#649601: libjfugue-java: can't cleanly updgrade from jfugue to libjfugue-java

Gergely Nagy algernon at balabit.hu
Tue Nov 22 14:32:48 UTC 2011


Package: libjfugue-java
Version: 4.0.3-2
Severity: important

I had jfugue installed earlier, but with 4.0.3-2, it was
renamed. However, no conflicts or replaces were added to libjfugue-java,
so when I tried to install it, the following happened:

$ sudo aptitude install libjfugue-java
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libjfugue-java
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/112 kB of archives.
After this operation, 148 kB of additional disk space will be used.
(Reading database ... 314256 files and directories currently installed.)
Unpacking libjfugue-java (from .../libjfugue-java_4.0.3-2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libjfugue-java_4.0.3-2_all.deb (--unpack):
 trying to overwrite '/usr/share/java/jfugue-4.0.3.jar', which is also in package jfugue 4.0.3-1
configured to not write apport reports
                                      Errors were encountered while processing:
 /var/cache/apt/archives/libjfugue-java_4.0.3-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I believe a Conflict/Replaces is in order at least, to smoothen the
upgrade path for those few who installed the package before the rename.

And FYI, the jfugue package is still part of unstable, even if it's not
built from the source anymore:

$ apt-cache policy jfugue
jfugue:
  Installed: 4.0.3-1
  Candidate: 4.0.3-1
  Version table:
 *** 4.0.3-1 0
        500 http://ftp.de.debian.org/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status

You might wish to request its removal.

-- 
|8]






More information about the pkg-java-maintainers mailing list