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 Ubuntu
Bugs, which is subscribed to 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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to