I'm trying to exclude the MySQL Server 5.6 package from upgrading as part of do-release-upgrade process to Ubuntu 16. I'm running an application that is only compatible with MySQL Server 5.6 but do-release-upgrade is upgrading it to 5.7.
I have excluded all MySQL related packages with apt-mark hold as below:
apt-mark showhold
libdbd-mysql-perl
libmysqlclient18
mysql-client-5.6
mysql-client-core-5.6
mysql-common
mysql-common-5.6
mysql-server-5.6
mysql-server-core-5.6
When I run do-release-upgrade, at some point, I get error that hold prevents these packages from being marked as garbage and then I cannot continue with the upgrade.
Any help would be much appreciated.