How to prevent a package from being updated in Ubuntu

If you want to update all the packages other than one package in your Ubuntu system follow this procedure There are three ways of holding back packages, with dpkg, aptitude or with dselect.