mysql-apt-config需要很长时间才能在Ubuntu 14.04.1上安装

我试图使用mysql-apt-config将MySQL从5.6升级到5.7。 我已经下载了deb,并尝试安装它。 但它“挂起”

Setting up mysql-apt-config (0.3.2-1ubuntu14.04) ... 

并在那里呆了几个小时。 什么都没发生。

这可能是问题?: https : //unix.stackexchange.com/questions/158052/how-to-configure-the-mysql-apt-repo-on-ubuntu-on-a-non-interactive-shell ,我没有得到select菜单,因为我通过SSH进行安装

我遇到了同样的问题,我在你提到的链接上find了解决scheme:

 export DEBIAN_FRONTEND=noninteractive echo mysql-apt-config mysql-apt-config/enable-repo select mysql-5.6 | sudo debconf-set-selections dpkg --configure -a 

不要忘记检查你的MySQL版本!

谢谢你!