TheClonker.de Blog

Philip Gisella | Hamburg, Germany | Software Engineer

13 Mar 2013

Removing the Intel Linux Graphics Driver

When I read about the new Intel Linux Graphics Drivers, I installed them without thinking too much.

Big mistake as it turned out -.- They fucked up my 32 Bit dependency for Wine and what not :/
But here is how I get rid of them after some researching:

Automatic Solution

I put together a small script for Ubuntu 12.10 64bit only which should remove it as painlessly as possible, just execute

curl https://theclonker.de/remove-intel-driver.sh | /bin/sh

If you don’t trust me just follow the step-by-step instructions 😛

Step-by-Step Solution

If you have a different Disto or Ubuntu Version just adjust Pin: release a=quantal* and install apt-get !

  • Open a new Terminal (CTRL+Alt+T) and execute
gksudo gedit /etc/apt/preferences.d/intel-removal
  • Paste this code in the File and save it
Package: *
Pin: release a=quantal*
Pin-Priority: 1001
Package: *
Pin: origin download.01.org
Pin-Priority: -100
  • Run sudo apt-get dist-upgrade in the Terminal, it should say something like „Installing (ca.) 100 Packages“ and there should be a lot of :i386 Packages in there.

  • Remove the actual drivers

sudo apt-get purge i915-3.6-3.5-dkms intel-linux-graphics-installer
  • Just some cleaning up to do:
sudo rm /etc/apt/preferences.d/intel-removal
sudo rm /etc/apt/sources.list.d/intellinuxgraphics.list*
sudo apt-get update

Just reboot and you are done 😊

Just a small information what this does, with the first to steps we tell Ubuntu that all Packages from 01.org are bad and should always be replaced the official Ubuntu Repositories, than we „downgrade“ all the packages to the Ubuntu default versions and remove the official Linux Drivers Repository and delete the file we created. If the file doesn’t work (or does work 😀 ) it would be nice if you leave a comment .

Addendum

After helping skyleo finding the solution by himself 😉 we found out that you need to check the file /etc/apt/preferences on other Distros, and override these Settings. For example in Mint there is a rule defined

Package: *
Pin: release l=Ubuntu
Pin-Priority: 500

You need to temporarily set that to 1001, and then do sudo apt-get dist-upgrade!

comments powered by Disqus