6

I've decided that I like aptitude better than all the alternatives I've tried. But I can't figure out how to downgrade/force version of a package with it. I have to go back and use synaptic for that.

How does one use aptitude to downgrade a package?

1 Answer 1

14
+50

Something like this will work:

sudo aptitude install package-name=package-version

For example:

$ aptitude versions firefox$

Package firefox:                         
p   45.0.2+build1-0ubuntu1             xenial                         500 
i   52.0.2+build1-0ubuntu0.16.04.1     xenial-security,xenial-updates 500 

Then:

sudo aptitude install firefox=45.0.2+build1-0ubuntu1

And with the GUI:

Downgrade packages with aptitude

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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