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.
Using dpkg
Put a package on hold
sudo echo “package hold” | dpkg --set-selectionsExample
sudo echo “apache2 hold” | dpkg --set-selectionsRemove the hold
sudo echo “package install” | dpkg --set-selectionsExample
sudo echo “apache2 install” ... read more ...

