Skip to content

Docker build fails with GPG error finding public key 467B942D3A79BD29 #809

Closed
@jrzerr

Description

@jrzerr

I build and the error I get is

W: GPG error: http://repo.mysql.com/apt/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
E: The repository 'http://repo.mysql.com/apt/debian buster InRelease' is not signed.
The command '/bin/sh -c { 		echo mysql-community-server mysql-community-server/data-dir select ''; 		echo mysql-community-server mysql-community-server/root-pass password ''; 		echo mysql-community-server mysql-community-server/re-root-pass password ''; 		echo mysql-community-server mysql-community-server/remove-test-db select false; 	} | debconf-set-selections 	&& apt-get update 	&& apt-get install -y 		mysql-community-client="${MYSQL_VERSION}" 		mysql-community-server-core="${MYSQL_VERSION}" 	&& rm -rf /var/lib/apt/lists/* 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld 	&& chmod 1777 /var/run/mysqld /var/lib/mysql' returned a non-zero code: 100

To reproduce:

  • clone fresh repo
  • cd mysql/8.0
  • docker build -f Dockerfile.debian .
  • You get an error above with the public key missing

I can't find that key anywhere on several public key servers I've looked on, mit, ubuntu, openpgp

I am building on popos but also having the error building out in Gitlab CI. So it's not just my own machine.

The last record I have of this working is 3 days ago. But we didn't start back up working until today, so can't figure out the exact timing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions