4

The command:

sudo apt update

doesn't work. The output of this command is the next image.

enter image description here

Kulfy
  • 17,416
  • 26
  • 64
  • 103
3UMF
  • 161
  • 1
  • 1
  • 6
  • You've provided a picture of text, so I cannot check directly, but you copy & paste the URL in your picture into a browser, I'm betting you'll quickly discover it doesn't provide support for *focal* or 20.04. PPA's are 3rd party sources, so all security & safety checks are your responsibility... – guiverc Mar 11 '21 at 10:38
  • @guiverc Thanks I found a solution for it, I have removed the resource because the PPA has zero files in it. – 3UMF Mar 11 '21 at 11:36
  • 1
    Hi @TriumfMaqedonci. I have rolled back your latest revision since the older version seems to be more explanatory and searchable which can help future visitors as well. – Kulfy Mar 15 '21 at 11:36

1 Answers1

7

That ppa has zero files in it. It's had zero files in it for a long time now. Unfortunately there's a lot of documentation pointing to that PPA online, so many people have it enabled with no benefit. The PPA itself even says it's discontinued. In short, remove that PPA.

https://launchpad.net/~webupd8team/+archive/ubuntu/java

enter image description here

N0rbert
  • 97,162
  • 34
  • 239
  • 423
popey
  • 22,629
  • 9
  • 71
  • 123
  • 3
    Thanks, I have removed it, and now the update command is working. For removing I have used this command ```rm -f /etc/apt/source.list.d/webupd8team-ubuntu-java-focal.list``` – 3UMF Mar 11 '21 at 10:55
  • 5
    I used `sudo add-apt-repository --remove ppa:webupd8team/java` to remove it – 5norre Jan 13 '22 at 10:31
  • 1
    Man. Oracle really are hell bent on killing off Java as a viable technology. Its baffling that whilst doing this they attempt to take google to court blaming them for Javas decline. What a poisonous company. – Shayne Aug 19 '22 at 02:09