openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #14098
[Bug 1890592] Re: trying to overwrite shared '/etc/java-8-openjdk/security/java.security', which is different from other instances of package openjdk-8-jre-headless:i386 on Ubuntu 20.04
Tired of waiting for the distro owners to fix it, I forced the
overwrite, which solved the issue and made apt is usable again:
`sudo dpkg --configure --force-overwrite -a`
Alternatively:
`sudo apt -o Dpkg::Options::="--force-overwrite" --fix-broken install`
This issue seem to be related from the conflict between the OpenJDK and
Oracle's own DEB distributions for Focal, especially if you've used the
webupd8 PPA in the past. There are more details on this bug report -
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1806265
--
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/1890592
Title:
trying to overwrite shared
'/etc/java-8-openjdk/security/java.security', which is different from
other instances of package openjdk-8-jre-headless:i386 on Ubuntu 20.04
Status in openjdk-8 package in Ubuntu:
Confirmed
Bug description:
I`am unable to install openjdk-8-jre-headless:i386 on Ubuntu 20.04.
My OS:
lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04
I get an error:
apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
openjdk-8-jre-headless:i386
Suggested packages:
libnss-mdns: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:i386
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
3 not fully installed or removed.
Need to get 0 B/27.1 MB of archives.
After this operation, 26.6 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 247995 files and directories currently installed.)
Preparing to unpack .../openjdk-8-jre-headless_8u265-b01-0ubuntu2~20.04_i386.deb ...
Unpacking openjdk-8-jre-headless:i386 (8u265-b01-0ubuntu2~20.04) over (8u252-b09-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-8-jre-headless_8u265-b01-0ubuntu2~20.04_i386.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:i386
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-8-jre-headless_8u265-b01-0ubuntu2~20.04_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think the reason is in difference of
/etc/java-8-openjdk/security/java.security file in 32-bit and 64-bit
package. String org.GNOME.Accessibility.,\ exists in 64-bit package,
but doesn`t exist in 32-bit package.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1890592/+subscriptions
References