Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Retrieving gpg Key timed out - What does this mean?

Writer Matthew Harrington

I am unable to install any packages thru the terminal. After doing sudo add-apt-repository, the terminal seems to run normally (after about 5-10 minutes however) and am asked to hit enter. After I hit enter, I receive an error saying "Error: retrieving gpg key timed out.". Does anyone know what this error means and what I need to fix?

I see this question has been asked before on here but no answers unfortunately. Error: retrieving gpg key timed out

+Ubuntu 18.04 LTS

+Processor: Intel Core i5-4590 CPU @ 3.30GHz

+RAM: 8GB

17

1 Answer

I had the exact same problem that you've described. I found that sometimes repositories can behave as if censored by your internet service provider (it's quite weird). I solved this problem by using a VPN. It will work the minute you hit Enter. No wait, no fuss, smooth sailing. I hope it works for you. If you're not sure what VPN works on Linux, check out ProtonVPN. It's free and fast.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy