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

Missing public key for mariadb repo (Ubuntu 16.04) #226

Closed
skylarmt opened this issue May 24, 2016 · 3 comments
Closed

Missing public key for mariadb repo (Ubuntu 16.04) #226

skylarmt opened this issue May 24, 2016 · 3 comments

Comments

@skylarmt
Copy link

The script doesn't install the correct public keys when adding the mariadb repo on Ubuntu 16.04.

skylar@erpnext:~$ sudo apt-get update
Get:1 http://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial InRelease [3,128 B]     
Ign:1 http://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial InRelease               
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]        
Hit:5 https://deb.nodesource.com/node_0.12 xenial InRelease          
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease                             
Fetched 192 kB in 2s (83.9 kB/s)
Reading package lists... Done
W: GPG error: http://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1656F24C74CD1D8
W: The repository 'http://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: There is no public key available for the following key IDs:
F1656F24C74CD1D8  

The key can be installed with this command (found it in the Dockerfile for this project)
apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys F1656F24C74CD1D8

@shreyasp
Copy link
Contributor

@skylarmt We have fixed this issue and there is already a PR under review #222.

@prabir-scube
Copy link

TASK [Add apt key for mariadb for Ubuntu >= 16.04] *****************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv C74CD1D8", "failed": true, "msg": "Warning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: keyserver receive failed: No data", "rc": 2, "stderr": "Warning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: keyserver receive failed: No data\n", "stdout": "Executing: /tmp/tmp.O0pISnDzYu/gpg.1.sh --keyserver\nhkp://keyserver.ubuntu.com:80\n--recv\nC74CD1D8\n", "stdout_lines": ["Executing: /tmp/tmp.O0pISnDzYu/gpg.1.sh --keyserver", "hkp://keyserver.ubuntu.com:80", "--recv", "C74CD1D8"]}
to retry, use: --limit @production/install.retry
I'm getting this error. how do i resolve this issue.

@dylanh724
Copy link

This has returned in 2018

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

5 participants