I had a similar problem, but solved it by removing all JRE8 packages and 
leaving only JRE11.
azrael@leetbook:~$ LANG=C wajig fix-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
Suggested packages:
  fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei fonts-wqy-zenhei
The following packages will be upgraded:
  openjdk-8-jre-headless
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/28.2 MB of archives.
After this operation, 16.4 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 380693 files and directories currently installed.)
Preparing to unpack 
.../openjdk-8-jre-headless_8u282-b08-0ubuntu1~20.04_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u282-b08-0ubuntu1~20.04) over 
(8u275-b01-0ubuntu1~20.04) ...
dpkg: error processing archive 
/var/cache/apt/archives/openjdk-8-jre-headless_8u282-b08-0ubuntu1~20.04_amd64.deb
 (--unpack):
 trying to overwrite shared '/etc/java-8-openjdk/accessibility.properties', 
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_8u282-b08-0ubuntu1~20.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
azrael@leetbook:~$ wajig list-installed |egrep 'jdk|jre'
default-jre
default-jre-headless
openjdk-11-jre:amd64
openjdk-11-jre-headless:amd64
openjdk-8-jre:i386
openjdk-8-jre-headless:amd64
openjdk-8-jre-headless:i386

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to