docker_matecat
docker_matecat copied to clipboard
GPG Error during installation
I this error during the installation:
W: GPG error: http://repo.mysql.com/apt/ubuntu trusty 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/ubuntu trusty InRelease' is not signed.
The command '/bin/sh -c apt-get update' returned a non-zero code: 100
ERROR: Service 'mysql' failed to build : Build failed
I tried adding the missing certificate via sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29
Suggestions?
@Ostico
Facing same error: ` => ERROR [matecat-bionic-mysql 10/21] RUN apt-get update 3.8s => CANCELED [matecat-bionic-filters 6/10] RUN apt-get install -y git software-properties-common && add-apt-repository -y ppa:openjdk-r/ppa && apt-get update 3.4s
[matecat-bionic-mysql 10/21] RUN apt-get update: #0 1.040 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease #0 1.040 Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease #0 1.069 Get:3 http://repo.mysql.com/apt/ubuntu trusty InRelease [34.0 kB] #0 1.085 Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease #0 1.144 Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease #0 1.590 Err:3 http://repo.mysql.com/apt/ubuntu trusty InRelease #0 1.590 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29 #0 1.734 Reading package lists... #0 3.716 W: GPG error: http://repo.mysql.com/apt/ubuntu trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29 #0 3.716 E: The repository 'http://repo.mysql.com/apt/ubuntu trusty InRelease' is not signed.
failed to solve: executor failed running [/bin/sh -c apt-get update]: exit code: 100 `
@burakoslu24 had the same error.
Adding RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29
to /docker_matecat/MateCat-Bionic/MySQL/DockerFile before RUN apt-get update
solves this problem for me.