For a project I had to downgrade the xorg to a lower version.
To know what versions are available, the mansion option comes in handy.
$sudo apt-cache madison xserver-xorg-core
Results in my case (ubuntu 12.04.1) in:
xserver-xorg-core | 2:1.11.4-0ubuntu10.12 | ... xserver-xorg-core | 2:1.11.4-0ubuntu10.6 | ... xserver-xorg-core | 2:1.11.4-0ubuntu10 | ... xorg-server | 2:1.11.4-0ubuntu10 | ... xorg-server | 2:1.11.4-0ubuntu10.12 | ... xorg-server | 2:1.11.4-0ubuntu10.6 | ...
There also exists a program rmadison in the devscripts
install with:
$sudo apt-get install devscripts
To use this program run:
$sudo rmadison xserver-xorg-core
Now the output will gives back more ‘historical’ versions:
xserver-xorg-core | 2:1.4.1~git20080131-1ubuntu9 | hardy | amd64, hppa,... xserver-xorg-core | 2:1.4.1~git20080131-1ubuntu9.3 | hardy-security | amd64, hp... xserver-xorg-core | 2:1.4.1~git20080131-1ubuntu9.3 | hardy-updates | amd64, hpp... xserver-xorg-core | 2:1.7.6-2ubuntu7 | lucid | amd64, armel, i386, ia64... xserver-xorg-core | 2:1.7.6-2ubuntu7.10 | lucid-security | amd64, armel, i386, ... xserver-xorg-core | 2:1.7.6-2ubuntu7.11 | lucid-updates | amd64, armel, i386, i... xserver-xorg-core | 2:1.10.4-1ubuntu4 | oneiric | amd64, armel, i386, pow... xserver-xorg-core | 2:1.10.4-1ubuntu4.1 | oneiric-security | amd64, armel, i386... xserver-xorg-core | 2:1.10.4-1ubuntu4.3 | oneiric-updates | amd64, armel, i386,... xserver-xorg-core | 2:1.11.4-0ubuntu10 | precise | amd64, armel, armhf, i... xserver-xorg-core | 2:1.11.4-0ubuntu10.6 | precise-security | amd64, armel, arm... xserver-xorg-core | 2:1.11.4-0ubuntu10.12 | precise-updates | amd64, armel, arm... xserver-xorg-core | 2:1.13.0-0ubuntu6 | quantal | amd64, armel, armhf, i3... xserver-xorg-core | 2:1.13.0-0ubuntu6.1 | quantal-updates | amd64, armel, armhf... xserver-xorg-core | 2:1.13.2-0ubuntu3 | raring | amd64, armhf, i386, pow...
let’s combine with grep (I need only the ones which include an armhf version)
$sudo rmadison xserver-xorg-core | grep armhf
xserver-xorg-core | 2:1.11.4-0ubuntu10 | precise | amd64, armel, armhf, ... xserver-xorg-core | 2:1.11.4-0ubuntu10.6 | precise-security | amd64, armhf, ... xserver-xorg-core | 2:1.11.4-0ubuntu10.12 | precise-updates | amd64, armhf, i3... xserver-xorg-core | 2:1.13.0-0ubuntu6 | quantal | amd64, armel, armhf, i... xserver-xorg-core | 2:1.13.0-0ubuntu6.1 | quantal-updates | amd64, armel, armh... xserver-xorg-core | 2:1.13.2-0ubuntu3 | raring | amd64, armhf, i386, po...
But to make things less complicated:
$ sudo apt-cache show xserver-xorg-core
Will result in a long output. To filter only the version numbers available:
$ sudo apt-cache show xserver-xorg-core | grep Version
Results in a nice readable list:
Version: 2:1.11.4-0ubuntu10.12 Version: 2:1.11.4-0ubuntu10.6 Version: 2:1.11.4-0ubuntu10
To install the proposed version (2:1.11.4-0ubuntu10) the rule is:
$ sudo apt-get install packagname=version
$ sudo apt-get install xserver-xorg-core=2:1.11.4-0ubuntu10