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

"keyserver.ubuntu.com: Connection refused" during build #36

Closed
DewiBrynJones opened this issue Jan 31, 2018 · 2 comments
Closed

"keyserver.ubuntu.com: Connection refused" during build #36

DewiBrynJones opened this issue Jan 31, 2018 · 2 comments

Comments

@DewiBrynJones
Copy link

https://github.com/MycroftAI/docker-mycroft/blob/master/Dockerfile#L18 :

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F3B1AA8B && \

fails with the following:

--recv-keys
F3B1AA8B
gpg: requesting key F3B1AA8B from hkp server keyserver.ubuntu.com
?: keyserver.ubuntu.com: Connection refused
gpgkeys: HTTP fetch error 7: couldn't connect: Connection refused
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver unreachable
gpg: keyserver communications error: public key not found
gpg: keyserver receive failed: public key not found
The command '/bin/sh -c sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list &&   apt-get update &&   apt-get -y upgrade &&   apt-get install -yq --no-install-recommends   apt-transport-https   python-pip   curl   wget   software-properties-common &&   apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F3B1AA8B &&   bash -c 'echo "deb http://repo.mycroft.ai/repos/apt/debian debian main" > /etc/apt/sources.list.d/repo.mycroft.ai.list' &&   apt-get update &&   apt-get install -yq mycroft-core &&   apt-get install -f &&   apt-get upgrade mycroft-core' returned a non-zero code: 2
Makefile:4: recipe for target 'build' failed

probably because of a blocked port (https://unix.stackexchange.com/questions/75892/keyserver-timed-out-when-trying-to-add-a-gpg-public-key) at my University.

Changing that line to

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys F3B1AA8B && \

resolves the issue.

@btotharye
Copy link
Contributor

this has been resolved, thanks

@ghost
Copy link

ghost commented Oct 7, 2019

Thank you

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

No branches or pull requests

2 participants