Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I have got some problem with sound. In order to investigate the problem I tried to reinstall older version of package libasound2 (I have upgraded it recently). I typed apt-get install libasound2= and the manager wanted to unistall lots of software I use and I don't like idea that I have to install it again.

How can I change the version of selected package without all the problem with dependent software?

share|improve this question
Try compiling the older version against the newer libraries? Usually software is "forward compatible". You forgot to mention the distribution and distribution version you are using. This is often relevant information. – Faheem Mitha Sep 28 '11 at 8:25
up vote 0 down vote accepted

Assuming that the old version of the package exists in a repository your apt is configured to talk to (e.g., you've installed a version from testing or unstable and you want the version from stable back) I would recommend using aptitude to mark the package for downgrading. aptitude will show you if there is a conflict caused by your action and let you step through possible solutions.

It's possible that you cannot downgrade.

share|improve this answer
I have already tried it. I guess it is the only solution. However, I'm surprised so many apps (emacs, chromium, ...) depend on one library in the newest version. – lord.didger Sep 27 '11 at 15:35

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.