How to stop a package from being updated in ubuntu apt with apt-mark
Apt-mark is a command line tool that can help you choose which applications to be updated disabled or halted. You can set various settings for a package, such as
marking a package as being automatically/manually installed or changing dpkg selections such as hold, install, deinstall and purge.
Check the full article:
https://webleit.info/how-to-stop-a-package-from-being-updated-in-ubuntu-apt-with-apt-mark/
ubuntu