Score:0

Cannot install JDK 11 on Ubuntu 20.04

lt flag

I cannot install JDK 11 on Ubuntu 20.04. I always get the same connection error:

Ign:1 http://mirror.it.ubc.ca/ubuntu focal-updates/main amd64 openjdk-11-jdk-headless amd64 11.0.16+8-0ubuntu1~20.04
Err:1 http://mirror.it.ubc.ca/ubuntu focal-updates/main amd64 openjdk-11-jdk-headless amd64 11.0.16+8-0ubuntu1~20.04
Connection failed [IP: 137.82.116.21 80]
E: Failed to fetch http://mirror.it.ubc.ca/ubuntu/pool/main/o/openjdk-lts/openjdk-11-jdk-headless_11.0.16+8-0ubuntu1~20.04_amd64.deb  Connection failed [IP: 137.82.116.21 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I did try with --fix-missing and it doesn't work.

I also tried both sudo apt update and sudo apt upgrade before trying with both mirrors.

Note that here I am using a mirror. I first tried with http://archive.ubuntu.com/ubuntu/. I get the same result every time.

Any help would be greatly appreciated.

David avatar
cn flag
Did you try to ping that IP?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.