sudo apt install openjdk-11-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
openjdk-11-jdk : Depends: openjdk-11-jre (= 11~24-1~18.04)
Depends: openjdk-11-jdk-headless (= 11~24-1~18.04)
openjdk-11-jre-headless : Conflicts: oracle-java11-installer but 11.0.1-2~linuxuprising1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Please help how to resolve
apt --fix-broken install
as advised? – Daniele Santi Nov 29 '18 at 09:55