Fix mysql recipe install on ubuntu node
- while install mysql-community-server and mysql-community-client packages, i get following error:
Mixlib::ShellOut::ShellCommandFailed: apt_package[mysql-server] (mysql::install$ ---- Begin output of apt-get -q -y install mysql-server=5.6.28-1ubuntu14.04 ---- STDOUT: Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libaio1 mysql-client mysql-common mysql-community-client mysql-community-server The following NEW packages will be installed: libaio1 mysql-client mysql-common mysql-community-client mysql-community-server mysql-server 0 upgraded, 6 newly installed, 0 to remove and 62 not upgraded. Need to get 23.0 MB of archives. After this operation, 164 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! mysql-common mysql-community-server mysql-community-client mysql-client mysql-server STDERR: E: There are problems and -y was used without --force-yes ---- End output of apt-get -q -y install mysql-server=5.6.28-1ubuntu14.04 ---- Ran apt-get -q -y install mysql-server=5.6.28-1ubuntu14.04 returned 100
- additional mysql-client and mysql-server packages cannot be authenticated and setup breaks!
- P.S. may be apt-key is wrong for mysql ubuntu