Ferramosca Roberto's Java PPA doesn't seem to be up anymore. This is a PPA for Sun/Oracle Java; my guess is that licensing changes preventing up-to-date versions (later than 6u26) from being provided, so after a while he no longer considered it useful to keep up. But that's just a guess.
I recommend removing the PPA; this explains how; this may help too. I'd use ppa-purge
for this, since you'll also want to remove the software provided by that PPA (and replace it with something up-to-date); this explains ppa-purge
(this simple answer is probably all you need).
Then, if you want to use Oracle's proprietary Java runtime, this explains how. That should achieve what you were using the ppa:ferramroberto/java PPA for before. Or you may prefer to use the OpenJDK (which is also official); for that, this might help.
In short, to remove the broken PPA with ppa-purge
and install the latest stable version of Oracle's proprietary JDK, you can run:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:ferramroberto/java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Source: This answer to that question (for the last three commands).
Unlike some old PPAs, packages from that PPA can provide the latest versions of Oracle Java even with their licensing restrictions prohibiting distribution by unauthorized parties. The way this works is that the packages don't actually contain Oracle Java; instead, they contain scripts that automatically download them from authorized download sites, and install them. Meanwhile the packages manage what version is installed, so it works similarly to the way it would work if the packages did directly provide the software.
Java 8 exists, and you can install it with oracle-java8-installer
. But it's still in testing; it's not recommended for general use. Similarly, the old Java 6 still exists, though you should check to see if it still get security updates before using it. To install that, you'd use the oracle-java6-installer
package.
sudo apt-get -f update
It should try to fix problems. Best of luck!