I issued this command to try to install mongodb
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
It all seemed fine untill I tried to run apt-get update
and got a NO_PUBKEY error.
I tried with sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY>
and did not work at all.
Now I don't even get the NO_PUBKEY error while trying to update. I get a 0% [Waiting for headers]
and then this is what I get:
Hit:10 https://packages.microsoft.com/repos/ms-teams stable InRelease
Ign:11 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease
Hit:12 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Hit:13 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release
Hit:14 https://download.sublimetext.com apt/stable/ InRelease
Err:17 http://repo.steampowered.com/steam precise InRelease
Connection failed [IP: 104.17.152.86 80]
Reading package lists... Done
W: Failed to fetch http://repo.steampowered.com/steam/dists/precise/InRelease Connection failed [IP: 104.17.152.86 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Despite not having any connection issues.
Reinstalling apt is my last resort but I don't really know how to do that and I'm afraid I could only make things worse
Get
or 'Hit' mean when running an apt-get update? – Kulfy Apr 07 '20 at 13:45