Go to Synaptic Package Manager(System > Administration > Synaptic Package Manager)
Click search button and type package name.
When you find package select it and go to Package(in menu) and click Lock Version.
And you are done, now that package will not show in update manager and it will not be updated.
There are three ways of holding back packages, with
dpkg,
aptitude or with
dselect.
One method using aptitude has been told you by cragevil.
Using
dpkg:
Put a package on hold:
Code:
# echo "package hold" | sudo dpkg --set-selections
Displaying the status of your packages:
Code:
# dpkg --get-selections
Displaying the status of a single package:
Code:
# dpkg --get-selections | grep "package"
Using
dselect:
With dselect, you just have to enter the [S]elect screen, find the package you wish to hold in its present state, and press
= or
H. The changes will go live immediately after you exit the [S]elect screen.