To “pin” a software package in Synaptic from being updated (for whatever reason), you just simply need to “lock the version.”
Find and select the package you wish to hold back.Then go to
Package > Lock Version in the menu bar.
How to hold a package back from being upgraded? | AskUbuntu