openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #14750
[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
I just tried to build package with higher version to test upgrade and
got the same error:
The following packages will be upgraded:
openjdk-8-jre-headless openjdk-8-jre-headless:i386
2 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
Need to get 0 B/54.2 MB of archives.
After this operation, 77.8 kB of additional disk space will be used.
(Reading database ... 183946 files and directories currently installed.)
Preparing to unpack .../openjdk-8-jre-headless_8u402-ga-2ubuntu1~22.04.1_i386.deb ...
De-configuring openjdk-8-jre-headless:amd64 (8u402-ga-2ubuntu1~22.04), to allow configuration of openjdk-8-jre-headless:i386 (8u402-ga-2ubuntu1~22.04) ...
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.1) over (8u402-ga-2ubuntu1~22.04) ...
Preparing to unpack .../openjdk-8-jre-headless_8u402-ga-2ubuntu1~22.04.1_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u402-ga-2ubuntu1~22.04.1) over (8u402-ga-2ubuntu1~22.04) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-8-jre-headless_8u402-ga-2ubuntu1~22.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
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.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
As you can see the fix works only for fresh installation, but does not
work for upgrade
--
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