0

I'm having issues installing anything on my ubuntu 16.04 since I've messed with java install. Here's what I get --

sudo apt-get -f install htop

Reading package lists... Done Building dependency tree
Reading state information... Done E: The package jre1.8.0-111 needs to be reinstalled, but I can't find an archive for it.

Any suggestions?

Mark Kirby
  • 18,949
  • 19
  • 79
  • 116

1 Answers1

0

Try with

sudo apt-get install -f

It should remove Java. Then reinstall it You can also try with Synaptic (if you have already installed it)

sudo synaptic

Or just

sudo apt-get remove --purge *java*

And then reinstall java

Aegefel
  • 336