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

How can I temporarily use a different version of a package so that I can install another package that depends on it? Or is it not possible to do that?

share|improve this question
up vote 2 down vote accepted

You can use Synaptic to lock a version, or force it (in case you keep several versions). These options are in the "Package" menu. I understand "force" is the one applicable in your case. This link may be instructive and has screenshots as well:

share|improve this answer
So, it's possible to install many versions of the same package with Synaptic? Is that it? – Kemal Fadillah Dec 15 '13 at 2:54
As long as you use just one of them, which will be either the latest, or the one you force. – Pavel Dec 15 '13 at 7:06

No, APT get doesn't get confused by dependencies. Also, for some reason they depends on a specific version. apt-get won't allow you to do this. Maybe dpkg but again the dependencies exist for a VERY GOOD reason.

share|improve this answer
So what do you propose to do in such situations? E.g. I would like to use CUDA on my optimus laptop, which requires a package version, that would break my graphics. – cuichi Dec 12 '13 at 14:27
@cuichi literally and from the amount of information you have provided me? Suck it up then fix it myself or wait for the developers to fix their stuff. – Braiam Dec 12 '13 at 14:38
I just provided an example. I was asking what you would propose as a SOLUTION to the question - which we have now. DIY or SIU. – cuichi Dec 12 '13 at 15:57
@cuichi ok, seems that we are missing the point here. OP is asking if it can be done: can install another package that depends on it? Or is it not possible to do that? My answer: NO. – Braiam Dec 12 '13 at 16:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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