I have a specific MySQL version installed and want to disable any updates as a recent update seems to have messed up my existing config files.
When I run apt-get update I do see errors so I think the signature failed.
W: GPG error: http://repo.mysql.com/apt/ubuntu bionic InRelease: The following signatures were invalid: EXPKEYSIG 8C718D3B5072E1F5 MySQL Release Engineering <mysql-build@oss.oracle.com>
E: The repository 'http://repo.mysql.com/apt/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I'm just not sure how to remove updates but keep mysql installed.
[edit]
Apparently I did have it already on hold, but not all of the packages...
mysql-apt-config install
mysql-client-5.7 install
mysql-client-core-5.7 install
mysql-common install
mysql-server hold
mysql-server-5.7 install
mysql-server-core-5.7 install
sudo apt-mark hold <package_name>
– user535733 Nov 11 '20 at 16:32