Доброго времени суток. Пишу авто-установщик на Bash и при установке MySQL 5.6 возникает ошибка GPG?
Ход действий:
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
Сама ошибка:
Reading package lists... Done
W: GPG error: http://repo.mysql.com wheezy Release: The following signatures were invalid: KEYEXPIRED 1550412832 KEYEXPIRED 1550412832 KEYEXPIRED 1550412832