Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

How to force an application to stay on the same current version?

For instance, I don't want the application to ask for an upgrade in the update manager, (I know that I can un-check it) but I don't want it to show up.

share|improve this question

marked as duplicate by hhlp, enzotib, RolandiXor, Stefano Palazzo Jun 22 '11 at 13:29

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.

2 Answers 2

With aptitude (terminal)

Use sudo aptitude hold packagename, i.e. sudo aptitude hold apache2. To undo do sudo aptitude unhold package_name.

Also see How to prevent a package from being updated in Ubuntu for more ways of achieving this.

In synaptic (GUI)

  1. Open Synaptic Package Manager (System > Administration > Synaptic Package Manager if you use gnome).
  2. Click search button and type the package name you want to hold.
  3. When you find package select it and go to Package (in menu) and click Lock Version.

As described by Re: Disable Package Upgrade and How To Disable Package From Updating In Ubuntu.

share|improve this answer

In addition to using the command "aptitude" already stated you may use The Synaptic Package Manager to "lock" a package. Simply select the package you want held, then select Package>Lock Version.

share|improve this answer

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