Blocking the version of a package

You want to apt-get update / upgrade your system but you don’t want the package xxx to be updated ?

Just :

$ sudo -s
$ echo "xxx hold" | dpkg --set-selections

And the xxx package will stick to your current version.