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 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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to