Update Manager keeps packages at the latest version, but occasionally a new package version may not work as expected or properly. How to downgrade an installed package and lock it at a specific version to prevent it from being updated? How can I do this using GUI or using a Terminal?
Downgrade – How to Downgrade Packages on Ubuntu
downgrade
Best Answer
In GUI - using Synaptic
The Ubuntu Software Center’s simplified interface doesn’t offer the option to downgrade packages. Synaptic, a more advanced graphical package manager interface that Ubuntu used to include, offers this option. To downgrade a package graphically, first install the Synaptic application:
After you done this, open the Synaptic Package Manager from the Dash:
Search for the package you want to install an older version of in Synaptic, select it, and use the Package > Force Version option:
Select the version you want to install and click Force Version. Synaptic will only show you versions available in your repositories:
Click the Apply button to apply your changes and install the older version of the package, assuming everything works properly.
After you downgrade the package, select it and use the Package > Lock Version option. If you don’t do this, Ubuntu will try to upgrade the installed package the next time you update your installed packages:
In Terminal – using
apt-get
You can install a specific version of a package with
apt-get
in the Terminal. First, determine the available versions you can install with the following command (use for packagename the name of the program that you want to downgrade):Next, run the apt-get install command and specify the package version you want to install (use for version the version number previously determined of the program that you want to downgrade):
After it’s installed, run the following command to hold your installed version, preventing the package manager from automatically updating it in the future:
Source: http://www.howtogeek.com/117929/how-to-downgrade-packages-on-ubuntu/