I Get "gpg: no valid OpenPGP data found" error while importing google key
20,078
The problem was due to the restriction in my country. As @remyseroos suggested me, I tried to open the URL (https://dl-ssl.google.com/linux/linux_signing_key.pub) in my browser and I found out it's not loading properly.
So I just used a proxy and problem solved!
Related videos on Youtube
Author by
Omid
Contact me on facebook or visit my website and WebAdvice
Updated on September 18, 2022Comments
-
Omid over 1 year
Everything was working but suddenly stopped. I just didn't upgrade my Ubuntu 14.04 for two months. Now when I want to upgrade I get some errors.
First I run
sudo apt-get update
:E: GPG error: http://dl.google.com stable InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
I search for a solution and found this, but now when I try to import the key, I get another error. While importing the key:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
I get this error:
gpg: no valid OpenPGP data found.
How to solve this problem?
-
radriaanse over 9 yearsWhat's your GnuPG version? check with
gpg --version
-
Omid over 9 years@remyseroos gpg (GnuPG) 1.4.16
-
radriaanse over 9 yearsCan you see the key if you just go to the url from your browser?
-
Omid over 9 years@remyseroos Oh, No! I can't see it. Thank you man. Solved!
-
radriaanse over 9 yearsnp, Can you please write out your solution/finding as an answer, and mark it solved?
-
-
Afshar Mohebi over 9 yearsMy problem too. Which proxy you used?
-
Omid almost 9 years@afsharm Any VPN service should work.