Just installed Ubuntu 20.04.2 and MySQL 5.7. It asks for update to 8.0, but I do not want it. How to hold package to keep getting updates for 5.7, but do not make it update to 8.0?
sudo apt-mark hold <package-name>
will stop all future updates. Need to get the updates for 5.7, amnyway.
Ran sudo dpkg-reconfigure mysql-apt-config
and selected only 5.7, but apt still wants to update to 8.0!?