← Back to team overview

openjdk team mailing list archive

Bug#756226: jessie: Problems upgrading openjdk-7-jdk with openjdk-7-source installed

 

Source: openjdk-7
Version: 7u65-2.5.1-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I got this when running apt-get dist-upgrade today on jessie:

Preparing to unpack .../openjdk-7-jdk_7u65-2.5.1-2_amd64.deb ...
Unpacking openjdk-7-jdk:amd64 (7u65-2.5.1-2) over (7u55-2.4.7-2) ...
dpkg: error processing archive
/var/cache/apt/archives/openjdk-7-jdk_7u65-2.5.1-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/jvm/java-7-openjdk-amd64/src.zip', which is
also in package openjdk-7-source 7u55-2.4.7-2
Preparing to unpack .../openjdk-7-jre_7u65-2.5.1-2_amd64.deb ...
Unpacking openjdk-7-jre:amd64 (7u65-2.5.1-2) over (7u55-2.4.7-2) ...
Preparing to unpack .../openjdk-7-jre-lib_7u65-2.5.1-2_all.deb ...
Unpacking openjdk-7-jre-lib (7u65-2.5.1-2) over (7u55-2.4.7-2) ...
Preparing to unpack .../icedtea-7-jre-jamvm_7u65-2.5.1-2_amd64.deb ...
Unpacking icedtea-7-jre-jamvm:amd64 (7u65-2.5.1-2) over (7u55-2.4.7-2) ...
Preparing to unpack .../openjdk-7-jre-headless_7u65-2.5.1-2_amd64.deb ...
Unpacking openjdk-7-jre-headless:amd64 (7u65-2.5.1-2) over (7u55-2.4.7-2) ...
[...]
Errors were encountered while processing:
 /var/cache/apt/archives/openjdk-7-jdk_7u65-2.5.1-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The upgrade works fine when I remove openjdk-7-source.  --> I do think
that this should be handled more gracefully, as this leads to a broken
upgrade which leads to the current kernel not booting ;-)

I was told on debian-java that this is an RC bug, so I put in severity
'grave', I hope that's correct. I can upload the whole "apt-get
dist-upgrade" transcript, but it looks unsuspicious except for the
above.

Thanks and Best Regards,
Felix

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Felix Natter