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

Zanna
  • 69,223
  • 56
  • 216
  • 327
  • 6
    Please don't post screenshots of text. Instead copy & paste the text here and use [code formatting](https://askubuntu.com/editing-help). – pomsky Apr 17 '18 at 11:47

1 Answers1

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.

Olimjon
  • 6,982
  • 2
  • 25
  • 51