← Back to team overview

openjdk team mailing list archive

[Bug 1806265] Re: package openjdk-8-jre-headless 8u181-b13-1ubuntu0.18.04.1 failed to install/upgrade: trying to overwrite shared '/etc/java-8-openjdk/security/java.security', which is different from other instances of package openjdk-8-jre-headless:amd64

 

Noticed that there is a 'net.properties' in both /etc/java-8-openjdk:
and /etc/java-11-openjdk:

====
/etc$ ls java*
java:
security

java-10-oracle:
conf

java-11-openjdk:
accessibility.properties  net.properties        sound.properties
jvm-amd64.cfg             psfontj2d.properties  swing.properties
logging.properties        psfont.properties.ja
management                security

java-8-openjdk:
accessibility.properties  jvm-amd64.cfg       psfontj2d.properties
calendars.properties      jvm-i386.cfg        psfont.properties.ja
content-types.properties  logging.properties  security
flavormap.properties      management          sound.properties
images                    net.properties      swing.properties

java-8-oracle:
security
===
gnace@gn-limbo:/etc$ ls -l java*/net.properties
-rw-r--r-- 1 root root 4464 Aug 24  2018 java-11-openjdk/net.properties
-rw-r--r-- 1 root root 4464 Jul 23  2018 java-8-openjdk/net.properties
gnace@gn-limbo:/etc$ diff java*/net.properties
6c6
< # on the command line or set programmatically.
---
> # on the command line or set programatically.
14c14
< # Note that the system properties that do explicitly set proxies
---
> # Note that the system properties that do explicitely set proxies
gnace@gn-limbo:/etc$
===

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

Title:
  package openjdk-8-jre-headless 8u181-b13-1ubuntu0.18.04.1 failed to
  install/upgrade: trying to overwrite shared
  '/etc/java-8-openjdk/security/java.security', which is different from
  other instances of package openjdk-8-jre-headless:amd64

Status in openjdk-8 package in Ubuntu:
  New

Bug description:
  Package crash on automated install.

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: openjdk-8-jre-headless 8u181-b13-1ubuntu0.18.04.1
  ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
  Uname: Linux 4.15.0-42-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu7.5
  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: Wed Nov 28 06:37:25 2018
  DuplicateSignature:
   package:openjdk-8-jre-headless:8u181-b13-1ubuntu0.18.04.1
   Unpacking openjdk-8-jre-headless:amd64 (8u191-b12-0ubuntu0.18.04.1) over (8u181-b13-1ubuntu0.18.04.1) ...
   dpkg: error processing archive /var/cache/apt/archives/openjdk-8-jre-headless_8u191-b12-0ubuntu0.18.04.1_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
  ErrorMessage: trying to overwrite shared '/etc/java-8-openjdk/security/java.security', which is different from other instances of package openjdk-8-jre-headless:amd64
  Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2.1
   apt  1.6.6
  SourcePackage: openjdk-8
  Title: package openjdk-8-jre-headless 8u181-b13-1ubuntu0.18.04.1 failed to install/upgrade: trying to overwrite shared '/etc/java-8-openjdk/security/java.security', which is different from other instances of package openjdk-8-jre-headless:amd64
  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/1806265/+subscriptions


References