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

Failure due to missing GPG binary on Ubuntu 18.04 #1382

Closed
alanorth opened this issue Apr 1, 2019 · 0 comments · Fixed by #1383
Closed

Failure due to missing GPG binary on Ubuntu 18.04 #1382

alanorth opened this issue Apr 1, 2019 · 0 comments · Fixed by #1383

Comments

@alanorth
Copy link

alanorth commented Apr 1, 2019

Describe the bug

Trying to install Algo v1.0 on a new Ubuntu 18.04 instance on a small VPS provider and it dies trying to add the key for the dnscrypt-proxy PPA due to a missing GPG. I installed gnupg2 manually and re-ran the algo script and it completed successfully.

Additional context

This is a small VPS provider. I'm not sure if their Ubuntu 18.04 image is more minimal than others, but it causes algo v1.0 to fail.

Full log

TASK [dns_encryption : Include tasks for Ubuntu] *****************************************************************************
included: /home/aorth/src/git/algo/roles/dns_encryption/tasks/ubuntu.yml for x.x.x.x
FAILED - RETRYING: Add the repository (10 retries left).
FAILED - RETRYING: Add the repository (9 retries left).
FAILED - RETRYING: Add the repository (8 retries left).
FAILED - RETRYING: Add the repository (7 retries left).
FAILED - RETRYING: Add the repository (6 retries left).
FAILED - RETRYING: Add the repository (5 retries left).
FAILED - RETRYING: Add the repository (4 retries left).
FAILED - RETRYING: Add the repository (3 retries left).
FAILED - RETRYING: Add the repository (2 retries left).
FAILED - RETRYING: Add the repository (1 retries left).

TASK [dns_encryption : Add the repository] ***********************************************************************************
fatal: [x.x.x.x]: FAILED! => {"attempts": 10, "changed": false, "cmd": "apt-key export EEE1EE950DF627C6879627B56C46343FA0B41DB7", "msg": "E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation", "rc": 255, "stderr": "E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation\n", "stderr_lines": ["E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation"], "stdout": "", "stdout_lines": []}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants