PDA

View Full Version : [ubuntu] Reverting to an older xorg package



handsomeDave
April 28th, 2009, 10:51 PM
The other night I updated 8.04 and the next morning the x server would freeze after running less than a minute. The only thing I can think of is that it must be something graphics card-wise incompatible with an xrog-server package that updated.
How can I revert it back to the older package from the terminal?

Zorael
April 29th, 2009, 02:34 AM
Well, you need to know the package name, and obviously the older package must still reside on one of the repositories.

First use apt-cache policy to divine the package version number you want to install, and then aptitude install package=version. I've marked an example up with some coloring, should be self-explanatory enough.

$ apt-cache policy xserver-xorg-video-intel
xserver-xorg-video-intel:
Installed: 2:2.6.99.1+git20090402.fad714c4-0ubuntu0tormod2
Candidate: 2:2.6.99.1+git20090402.fad714c4-0ubuntu0tormod2
Version table:
*** 2:2.6.99.1+git20090402.fad714c4-0ubuntu0tormod2 0
500 http://ppa.launchpad.net jaunty/main Packages
100 /var/lib/dpkg/status
2:2.6.3-0ubuntu9 0
500 http://archive.ubuntu.com jaunty/main Packages

$ sudo aptitude install xserver-xorg-video-intel=2:2.6.3-0ubuntu9