← Back to team overview

openjdk team mailing list archive

[Bug 1845873] Re: package openjdk-8-jdk-headless 8u232-b04-0ubuntu6 failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-8-openjdk-amd64/bin/clhsdb', which is also in package openjdk-8-jre-headless:amd64 8u222-b10-1ubuntu3

 

This bug was fixed in the package openjdk-8 - 8u232-b07-2

---------------
openjdk-8 (8u232-b07-2) unstable; urgency=medium

  * Update to 8u232-b07 (early access build).

  [ Matthias Klose ]
  * Refresh patches.
  * openjdk-8-jdk-headless: Add Breaks/Replaces for moved clhsdb binary.
    LP: #1845873.
  * debian/tests/control: Depend on g++ instead of build-essential or libc6-dev.
  * Bump standards vesion.

  [ Tiago Stürmer Daitx ]
  * Improve and fix build tests and autopkgtests:
    - Update debian/tests/hotspot,jdk,langtools to ignore
      jtreg-autopkgtest.sh return code.
    - Create debian/tests/jtdiff-autopkgtest.in as it depends
      on debian/rules variables.
    - debian/control.in, debian/control: add default-jre-headless
      to Build-Depends with a nocheck clause as jtreg requires
      a JRE in /usr/lib/jvm/default-java.
    - debian/tests/control:
      + Add zip and unzip test dependencies required by jdk's
        test/sun/security/tools/jarsigner/diffend.sh and
        test/sun/security/tools/jarsigner/emptymanifest.sh.
      + Depend on default-jre-headless so jtreg will use the
        JRE from /usr/lib/jvm/default-java.
    - debian/tests/jtdiff-autopkgtest.sh:
      + Fail only if an actual regression is detected.
      + Add the super-diff comparison from jtdiff.
      + Save failed jtr files for all runs.
    - debian/tests/jtreg-autopkgtest.sh:
      + Enable retry of failed tests to trim out flaky tests.
      + Fix unbound variable.
      + Keep .jtr files from failed tests only.
    - debian/patches/jdk-problem-list.diff: ignore failing tests
      that require more investigation.
    - debian/rules:
      + Preserve all JTreport directories in the test output
        directory.
      + Use JDK_DIR instead of JDK_TO_TEST for autopkgtest
        generation.
      + Package all .jtr files from JTwork as jtreg-autopkgtest.sh
        makes sure it contains only failed tests.
  * debian/tests/jdk: add our custom debian/tests/jdk-problem-list.txt to the
    exclusion list.
  * debian/tests/jdk-problem-list.txt: custom exclusion rules for jdk tests
    that fail to run during a build or autopkgtest run.
  * debian/rules: remove debian/patches/jdk-problem-list.diff.
  * debian/patches/jdk-problem-list.diff: jtreg allows for extra exclusion
    files thus there's no need to patch upstream's exclusion list.
  * debian/tests/control: mark all autopkgtests as flaky.
  * debian/tests/hotspot-archs: generated by debian/rules, contains a list of
    archs that supports a hotspot vm.
  * debian/tests/jdk: run only when the host arch is a hotspot vm - allow
    override through an environment variable.
  * debian/rules: update gen-autopkgtests to echo supported hotspot archs.

 -- Matthias Klose <doko@xxxxxxxxxx>  Tue, 01 Oct 2019 13:49:35 +0200

** Changed in: openjdk-8 (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1845873

Title:
  package openjdk-8-jdk-headless 8u232-b04-0ubuntu6 failed to
  install/upgrade: trying to overwrite '/usr/lib/jvm/java-8-openjdk-
  amd64/bin/clhsdb', which is also in package openjdk-8-jre-
  headless:amd64 8u222-b10-1ubuntu3

Status in openjdk-8 package in Ubuntu:
  Fix Released

Bug description:
  This bug happened during apt upgrade.

  ProblemType: Package
  DistroRelease: Ubuntu 19.10
  Package: openjdk-8-jdk-headless 8u232-b04-0ubuntu6
  ProcVersionSignature: Ubuntu 5.3.0-13.14-generic 5.3.0
  Uname: Linux 5.3.0-13-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu7
  AptOrdering:
   openjdk-8-jdk:amd64: Install
   openjdk-8-jdk-headless:amd64: Install
   openjdk-8-jre:amd64: Install
   openjdk-8-jre-headless:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  Date: Sun Sep 29 13:46:25 2019
  ErrorMessage: trying to overwrite '/usr/lib/jvm/java-8-openjdk-amd64/bin/clhsdb', which is also in package openjdk-8-jre-headless:amd64 8u222-b10-1ubuntu3
  InstallationDate: Installed on 2019-09-27 (1 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Beta amd64 (20190926.1)
  Python3Details: /usr/bin/python3.7, Python 3.7.4+, python3-minimal, 3.7.3-1
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu2
   apt  1.9.4
  SourcePackage: openjdk-8
  Title: package openjdk-8-jdk-headless 8u232-b04-0ubuntu6 failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-8-openjdk-amd64/bin/clhsdb', which is also in package openjdk-8-jre-headless:amd64 8u222-b10-1ubuntu3
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1845873/+subscriptions


References