Possible Duplicate:
How to prevent updating of a specific package?

I would like to lock firefox version in ubuntu 10.10 as we are running our software in firefox version 3.6. Coz of this we are unable to upgrade the latest packages and updates if i do that firefox version is also getting updated to version 10. I just want to lock the firefox version so that it wont be updated. Is it possible?

marked as duplicate by Panther, jokerdino, Nitin Venkatesh, Javier Rivera, jrg Mar 1 '12 at 16:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You can lock a version by following these simple steps:

  1. Open a terminal
  2. sudo -s and hit enter
  3. Enter your password for sudo
  4. echo firefox hold | dpkg --set-selections

This will lock (aka pin) the 'firefox' package.

To remove the lock replace step 4 with echo firefox install | dpkg --set-selections.

If you prefer a GUI then you can open Synaptic Package Manager, choose the package and from menu select Package->Lock Version.

Not the answer you're looking for? Browse other questions tagged or ask your own question.