0

I tried to install Java several times. but dpkg was interrupted. I do not know what it means.

terminal screenshot, adding Oracle Java 9 PPA, successful

installing openjdk-9-jdk-headless fails, dpkg interrupted

terminal screenshot, adding Oracle Java 9 PPA, successful, but installing oracle-java9-installer fails

1
  • 6
    Please don't post screenshots of text. Instead copy & paste the text here and use code formatting.
    – pomsky
    Apr 17, 2018 at 11:47

1 Answer 1

0

You might have got broken software. Without fixing this, installation is impossible.

To fix, press Ctrl+Alt+T and do:

sudo dpkg --configure -a

as dpkg says...

Then proceed to installing Java by apt.

0

Not the answer you're looking for? Browse other questions tagged .