I ran into a problem upgrading mysql-server-5.7 and the issue was I had at some point disabled mysql by default with "sudo systemctl disable mysql.service". I have it installed so I can run it when I need it. To get the upgrade to work I had to:
sudo systemctl enable mysql.service sudo apt-get install mysql-server-5.7 sudo systemctl disable mysql.service
This worked for me.
I ran into a problem upgrading mysql-server-5.7 and the issue was I had at some point disabled mysql by default with "sudo systemctl disable mysql.service". I have it installed so I can run it when I need it. To get the upgrade to work I had to:
sudo systemctl enable mysql.service
sudo apt-get install mysql-server-5.7
sudo systemctl disable mysql.service
This worked for me.