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.

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

2 Answers 2

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: http://techfrp.blogspot.com/2010/12/tip-how-to-force-and-lock-version.html

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

 
discard

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.