Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on apt-key #859

Closed
Cascador opened this issue Nov 10, 2016 · 4 comments
Closed

Error on apt-key #859

Cascador opened this issue Nov 10, 2016 · 4 comments

Comments

@Cascador
Copy link

Hello,

sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 379CE192D401AB61 doesn't work.

The key is missing on pgp.mit.edu ?

Thanks.

@lurch
Copy link
Contributor

lurch commented Nov 10, 2016

Works fine for me? What error message do you get?

@Cascador
Copy link
Author

Problem solved with : sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 379CE192D401AB61

Probably a firewall or proxy problem, see here : http://unix.stackexchange.com/questions/75892/keyserver-timed-out-when-trying-to-add-a-gpg-public-key

Thanks.

@lurch
Copy link
Contributor

lurch commented Nov 10, 2016

dlech added a commit to dlech/etcher that referenced this issue Nov 10, 2016
Use full URL with port for key server. Also use port 80 to work around firewalls and proxies.

Fixes: balena-io#859
@Cascador
Copy link
Author

sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 379CE192D401AB61 works on more cases (especially at work).

FYI in Docker sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 (https://docs.docker.com/engine/installation/linux/ubuntulinux/)

jviotti pushed a commit that referenced this issue Nov 11, 2016
jviotti pushed a commit that referenced this issue Nov 13, 2016
Use full URL with port for key server. Also use port 80 to work around firewalls and proxies.

Fixes: #859
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants