package openjdk-10-jre-headless (not installed) failed to install/upgrade: trying to overwrite '/usr/share/apport/package-hooks/source_openjdk-9.py', which is also in package openjdk-9-jre-headless:amd64 9.0.1+11-1

Bug #1738579 reported by David Jordan
62
This bug affects 10 people
Affects Status Importance Assigned to Milestone
openjdk-10 (Ubuntu)
Fix Released
Undecided
Unassigned
openjdk-11 (Ubuntu)
Fix Released
Undecided
Unassigned
openjdk-9 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

During install of openjdk-9-* and openjdk-10-* failure occured

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: openjdk-10-jre-headless (not installed)
ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
Uname: Linux 4.13.0-17-generic x86_64
ApportVersion: 2.20.8-0ubuntu4
Architecture: amd64
Date: Fri Dec 15 20:51:10 2017
DuplicateSignature:
 package:openjdk-10-jre-headless:(not installed)
 Unpacking openjdk-10-jre-headless:amd64 (10~32-0ubuntu1) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-BYL08R/001-openjdk-10-jre-headless_10~32-0ubuntu1_amd64.deb (--unpack):
  trying to overwrite '/usr/share/apport/package-hooks/source_openjdk-9.py', which is also in package openjdk-9-jre-headless:amd64 9.0.1+11-1
ErrorMessage: trying to overwrite '/usr/share/apport/package-hooks/source_openjdk-9.py', which is also in package openjdk-9-jre-headless:amd64 9.0.1+11-1
InstallationDate: Installed on 2017-12-15 (1 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20171215)
Python3Details: /usr/bin/python3.6, Python 3.6.4rc1, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-2ubuntu1
RelatedPackageVersions:
 dpkg 1.19.0.4ubuntu1
 apt 1.6~alpha5
SourcePackage: openjdk-10
Title: package openjdk-10-jre-headless (not installed) failed to install/upgrade: trying to overwrite '/usr/share/apport/package-hooks/source_openjdk-9.py', which is also in package openjdk-9-jre-headless:amd64 9.0.1+11-1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David Jordan (chawbs) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-10 (Ubuntu):
status: New → Confirmed
Changed in openjdk-9 (Ubuntu):
status: New → Confirmed
Revision history for this message
Vinchenzo (mdmwm) wrote :

Steps to reproduce:
-------------------
1. Fresh install of Ubuntu 18.04 Bionic via Latest (http://cdimage.ubuntu.com/daily-live/current) as of 14 Feb 2018

2. Run the following:
sudo apt update
sudo apt install -y openjdk*

Workaround:
-------------------
1. Remove OpenJDK 10; Run the following:
sudo apt purge -f openjdk-10*

Matthias Klose (doko)
Changed in openjdk-9 (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-10 - 10~46-2ubuntu1

---------------
openjdk-10 (10~46-2ubuntu1) bionic; urgency=medium

  * Work around build failure building the documentation.

 -- Matthias Klose <email address hidden> Fri, 16 Mar 2018 06:55:48 +0100

Changed in openjdk-10 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

fixed in 11 as well

Changed in openjdk-11 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.