How do you disable, lock or blacklist certain package updates using apt tool in debian and ubuntu distributions.
To hold a package
hold
1sudo apt-mark hold apache2
To unhold a package
unhold
1sudo apt-mark unhold apache2