Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

marked as duplicate by bodhi.zazen, jokerdino, Nitin Venkatesh, Javier Rivera, James 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.

up vote 4 down vote accepted

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.

share|improve this answer

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