S
S
Sergey2019-02-28 16:50:06
linux
Sergey, 2019-02-28 16:50:06

Why does a GPG error occur when installing MySQL 5.6 on Debian 7?

Good day. I'm writing a Bash auto-installer and getting a GPG error when installing MySQL 5.6?
Course of action:

echo "deb http://mirror.yandex.ru/debian/ wheezy main" > /etc/apt/sources.list
echo "deb-src http://mirror.yandex.ru/debian/ wheezy main" >> /etc/apt/sources.list
echo "deb http://security.debian.org/ wheezy/updates main" >> /etc/apt/sources.list
echo "deb-src http://security.debian.org/ wheezy/updates main" >> /etc/apt/sources.list
echo "deb http://mirror.yandex.ru/debian/ wheezy-updates main" >> /etc/apt/sources.list
echo "deb-src http://mirror.yandex.ru/debian/ wheezy-updates main" >> /etc/apt/sources.list
echo "deb http://packages.dotdeb.org wheezy-php56 all">"/etc/apt/sources.list.d/dotdeb.list"
echo "deb-src http://packages.dotdeb.org wheezy-php56 all">>"/etc/apt/sources.list.d/dotdeb.list"
echo mysql-apt-config mysql-apt-config/select-server select mysql-5.6 | debconf-set-selections
echo mysql-apt-config mysql-apt-config/select-product select Ok | debconf-set-selections
wget https://dev.mysql.com/get/mysql-apt-config_0.8.9-1_all.deb
export DEBIAN_FRONTEND=noninteractive
dpkg -i mysql-apt-config_0.8.9-1_all.deb
wget http://www.dotdeb.org/dotdeb.gpg
apt-key add dotdeb.gpg
rm dotdeb.gpg
apt-get update

The error itself:
Reading package lists... Done
W: GPG error: http://repo.mysql.com wheezy Release: The following signatures were invalid: KEYEXPIRED 1550412832 KEYEXPIRED 1550412832 KEYEXPIRED 1550412832

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2019-02-28
@t3g1ng

GPG key disabled KEYEXPIRED

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question