Bug #92218 MySQL 5.7 installation on Debian 9 fails - apt-key should not be used in scripts
Submitted: 28 Aug 2018 22:25 Modified: 28 Aug 2018 22:30
Reporter: Alexander Schreiner Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:5.7 OS:Debian (Debian 9)
Assigned to: CPU Architecture:Any

[28 Aug 2018 22:25] Alexander Schreiner
Description:
I am running a Debian 9 nginx server. I tried to install MySQL but it didn't work due to the following warning:
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package mysql-apt-config)

How to repeat:
Execute the following commands: (as root)

wget https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb
gdebi mysql-apt-config_0.8.10-1_all.deb

Do you want to install the software package? [y/N]:
y

*Package configuration opens*
Use the following config:
MySQL Server & Cluster: mysql-5.7
MySQL Tools & Connectors: Enabled
MySQL Preview & Packages: Disabled
-> Hit Ok.

Shell:
Preparing to unpack mysql-apt-config_0.8.10-1_all.deb ...
Unpacking mysql-apt-config (0.8.10-1) over (0.8.10-1) ...
Setting up mysql-apt-config (0.8.10-1) ...
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package mysql-apt-config)
OK
-> MySQL failed to install

Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package mysql-apt-config)
[5 Jul 2019 13:50] Samuel Fullman
Having the same issue.  The purplish selector GUI goes in a loop between the first two selection when I attempt to install 8.0 (I do not want to install 5.x).  When I press escape I get that same message.
[29 Dec 2020 9:48] Jeffery Wilkins
why was this marked as not a bug?