← Back to team overview

openjdk team mailing list archive

[Bug 1916327] Re: package openjdk-8-jre-headless 8u282-b08-0ubuntu1~20.04 failed to install/upgrade: Versuch, gemeinsam benutztes »/etc/java-8-openjdk/security/java.security« zu überschreiben, welches verschieden von anderen Instanzen des Paketes openjdk-8-jre-headless:i386 ist

 

Hi Thorsten,

I see openjdk-8 8u402-ga-2ubuntu1~22.04 just released, but problem still
exists on focal

Everything works fine when installing this version, but not when
updating from initial version 8u312-b07-0ubuntu1

Steps to reproduce:

Install initial version of openjdk-8-jre-headless
apt install openjdk-8-jre-headless=8u312-b07-0ubuntu1 openjdk-8-jre-headless:i386=8u312-b07-0ubuntu1

Try to upgrade
apt install openjdk-8-jre-headless

The following additional packages will be installed:
  openjdk-8-jre-headless:i386
Suggested packages:
  fonts-nanum fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei fonts-wqy-zenhei libnss-mdns:i386 fonts-nanum:i386 fonts-ipafont-gothic:i386 fonts-ipafont-mincho:i386 fonts-wqy-microhei:i386
  fonts-wqy-zenhei:i386
The following packages will be upgraded:
  openjdk-8-jre-headless openjdk-8-jre-headless:i386
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/61.2 MB of archives.
After this operation, 61.4 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 223474 files and directories currently installed.)
Preparing to unpack .../openjdk-8-jre-headless_8u402-ga-2ubuntu1~22.04_i386.deb ...
De-configuring openjdk-8-jre-headless:amd64 (8u312-b07-0ubuntu1), to allow configuration of openjdk-8-jre-headless:i386 (8u312-b07-0ubuntu1) ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-i386/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-i386/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-i386/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
Unpacking openjdk-8-jre-headless:i386 (8u402-ga-2ubuntu1~22.04) over (8u312-b07-0ubuntu1) ...
Preparing to unpack .../openjdk-8-jre-headless_8u402-ga-2ubuntu1~22.04_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u402-ga-2ubuntu1~22.04) over (8u312-b07-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-8-jre-headless_8u402-ga-2ubuntu1~22.04_amd64.deb (--unpack):
 trying to overwrite shared '/etc/java-8-openjdk/security/java.security', which is different from other instances of package openjdk-8-jre-headless:amd64
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/openjdk-8-jre-headless_8u402-ga-2ubuntu1~22.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
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/1916327

Title:
  package openjdk-8-jre-headless 8u282-b08-0ubuntu1~20.04 failed to
  install/upgrade: Versuch, gemeinsam benutztes
  »/etc/java-8-openjdk/security/java.security« zu überschreiben, welches
  verschieden von anderen Instanzen des Paketes openjdk-8-jre-
  headless:i386 ist

Status in openjdk-8 package in Ubuntu:
  Fix Committed

Bug description:
  I wanted to install google-Chrome with instruction from this website
  https://linuxize.com/post/how-to-install-google-chrome-web-browser-on-
  ubuntu-20-04/ but could not end it and the problem occured

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: openjdk-8-jre-headless 8u282-b08-0ubuntu1~20.04
  ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
  Uname: Linux 5.4.0-52-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.10
  AptOrdering:
   openjdk-8-jre:amd64: Install
   openjdk-8-jre-headless:amd64: Install
   openjdk-8-jre-headless:i386: Install
   NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Sat Feb 20 12:20:16 2021
  DpkgHistoryLog:
   Start-Date: 2021-02-20  12:19:17
   Commandline: apt --fix-broken install
   Requested-By: bjay (1000)
   Upgrade: openjdk-8-jre:amd64 (8u272-b10-0ubuntu1~20.04, 8u282-b08-0ubuntu1~20.04), openjdk-8-jre-headless:amd64 (8u272-b10-0ubuntu1~20.04, 8u282-b08-0ubuntu1~20.04), openjdk-8-jre-headless:i386 (8u265-b01-0ubuntu2~20.04, 8u282-b08-0ubuntu1~20.04)
  ErrorMessage: Versuch, gemeinsam benutztes »/etc/java-8-openjdk/security/java.security« zu überschreiben, welches verschieden von anderen Instanzen des Paketes openjdk-8-jre-headless:i386 ist
  InstallationDate: Installed on 2020-02-03 (382 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
  Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.2ubuntu0.1
  SourcePackage: openjdk-8
  Title: package openjdk-8-jre-headless 8u282-b08-0ubuntu1~20.04 failed to install/upgrade: Versuch, gemeinsam benutztes »/etc/java-8-openjdk/security/java.security« zu überschreiben, welches verschieden von anderen Instanzen des Paketes openjdk-8-jre-headless:i386 ist
  UpgradeStatus: Upgraded to focal on 2020-10-12 (131 days ago)

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