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:


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

curl | /bin/sh

If you don’t trust me just follow the step-by-step instructions 😛
If you have a different Disto or Ubuntu Version just adjust  „Pin: release a=quantal*“ and install apt-get !


  1. Open a new Terminal (CTRL+Alt+T) and execute

    gksudo gedit /etc/apt/preferences.d/intel-removal

  2. Paste this code in the File and save it

    Package: *
    Pin: release a=quantal*
    Pin-Priority: 1001

    Package: *
    Pin: origin
    Pin-Priority: -100

  3. 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.

  4. 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

    Don’t forget to remove the actual Drivers !

    sudo apt-get purge i915-3.6-3.5-dkms intel-linux-graphics-installer
  5. 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 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 .


Edit: 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-upgade !


  • Bruno
    16/03/2013 - 04:23 | Permalink

    You, my friend, are a gentleman and scholar. Thank you very much for providing this fix.

    • TheClonker
      16/03/2013 - 19:39 | Permalink

      I am happy to help, the Linux Community helped me solve a lot of problems over the years so I am happy to give something back 🙂

  • skyleo
    16/03/2013 - 18:33 | Permalink

    I’ve got in a quite big dependencies chaos like you when I installed this intel driver …
    Unfortunately your solution is not working for me.
    I’m using Linux Mint 14 and so leaving the „a=quantal“ part as it is should be fine.
    But when I’m executing „apt-get dist-upgrade“ it’s just not working. it doesn’t do anything.
    Here my output(Yeah, it’s german.):

    Japan-Lappy preferences.d # apt-get dist-upgradePaketlisten werden gelesen… Fertig
    Abhängigkeitsbaum wird aufgebaut
    Statusinformationen werden eingelesen… Fertig
    Paketaktualisierung (Upgrade) wird berechnet… Fertig
    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

    • TheClonker
      16/03/2013 - 19:38 | Permalink

      Hey, try

      „Pin: origin *“

      instead of

      „Pin: release a=quantal*“,

      it should affect all official Ubuntu Packages.

  • 18/03/2013 - 09:15 | Permalink

    would that work for 12.04? damn intel…

    • TheClonker
      18/03/2013 - 10:07 | Permalink

      Sure, just replace “Pin: release a=quantal*” with “Pin: release a=precise*” and it should work 🙂
      And yeah its sad that the Drivers dont work out of the box, but maybe after some time 64bit users can also enjoy it ^^

  • Roland
    21/03/2013 - 09:14 | Permalink

    you just saved my bacon big time.
    i did not read the BIG WARNING to NOT install on 64bit… and almost effed up my work laptop.
    Thank you so much for this!

  • 22/03/2013 - 11:42 | Permalink

    Vielen Dank! Das hat mir viel Zeit gespart! Das Script (auf ubuntu 12.10 64 bit) hat leider nicht alles behoben, aber die Manuelle Anleitung schon.

  • 26/03/2013 - 16:04 | Permalink

    After installing Intel Linux Graphics Driver, when I took screenshots, they were all black. I’ve removed it with the script above, but the screenshots are still black. Is it possible to fix it easier than reinstalling the whole system? Thanks.

    • TheClonker
      26/03/2013 - 21:57 | Permalink

      I am sorry, i did not have any Problems with that, are you sure you removed the dkms Modules of the Intel Driver ?

  • 26/03/2013 - 22:53 | Permalink

    Yes, I’ve removed every dkms module. After the script I’ve removed bumblebee and reinstalled it. The screenshots are still black.

  • Jur
    27/03/2013 - 16:01 | Permalink

    In first place thanks my friend your script worked like a charm on my ubuntu 12.10 x64, the intel drivers were crashing my gpu since yesterday, and your solution solved it, in second about the black screenshot i have the same problem but it was before i applied your script, maybe the reason were the intel drivers i don’t know, but the problem persist, meanwhile im using Shutter for screenshots

  • skalka
    08/04/2013 - 07:25 | Permalink

    Thanks your script solved my issue with black screenshots!

  • 11/04/2013 - 01:17 | Permalink

    Curious as always I installed the intel driver package … but first it messed up my sound settings and second these distro-independent driver packages are not the way to go. Almost felt windows-like. ^^

    Ach, kein Englisch von Nöten hier … *feststell* Danke für das Skript für Faule – es lief unter Bodhi Linux gut durch, und alles scheint wieder okay.

  • 11/04/2013 - 21:36 | Permalink

    to fix black background on gnome shell overview you need to do the followings

    1. remove Intel linux graphics driver installer since this will keep upgrading packages

    2. open synaptic package (if you don’t have please install it) then search for libcairo2

    3. you will find a package written libcairo2 with version number 1.12.4, select it and go to packages >force version, on force version choose libcairo2 1.12.2 (quantal updates) and click force version. (this will downgrade that package)

    4. after that click apply and wait for it to finish downloading, after all process has finished reboot your computer and black background will be gone.

    Note: you should be connected to the internet

  • 12/04/2013 - 09:35 | Permalink

    step three only returned a few upgrades. Like Skyleo, I had a lot of packages installed when using the intel installer tool (not just the i915 driver). It’s unclear that your steps will actually work.

    I’m using Ubuntu 12.04 though, not 12.10.

  • Ciba LO
    15/04/2013 - 02:11 | Permalink

    Last week, I freshly installed Ubuntu 12.04.2 i386 on my computer with on-board i915 graphics adapter. Now, I would like to install the latest Intel graphics driver to fix some xserver display problems, such as BadAlloc Error. So, I installed the xserver-xorg-video-intel. Installation was successful. After reboot, I had a black screen. However, I can boot into the recovery root shell.
    My „release“ is not quantal and „origin“ is not I am just wondering if your script can help me remove the broken graphics driver and restore my previous default graphics driver. If yes, how to modify your script to make it work for me?

    By the way, you might echo with „-e“ in Ubuntu Terminal.
    $ man echo

    -e enable interpretation of backslash escapes

    • 15/04/2013 - 05:07 | Permalink

      After reboot, sometimes I have black screen with mouse pointer. The following lines in the terminal (Ctrl-Alt-F1) fixes it:
      sudo service lightdm stop
      sudo service lightdm start

  • 27/04/2013 - 13:27 | Permalink

    Thanks, this worked perfectly for me on Ubuntu12.10 64bit. Simplest fix I have applied EVER!!!

  • David
    07/05/2013 - 19:46 | Permalink


    Ich bin David. Ich habe das problem auch. Es tut mir liecht, aber mien deutsch is schelct.

    I have the same problem as meg and i get this when doing the second command.

    david@david:~$ sudo apt-get dist-upgrade
    Reading package lists… Done
    E: Invalid record in the preferences file /etc/apt/preferences.d/intel-removal, no Package header

    Was gibts? Jetzt hasse ich diese problem.

    Ubuntu 12.04

  • Mario
    27/05/2013 - 08:28 | Permalink

    Ich habe Ubuntu 12.04 64Bit und bin deine Anleitung Schritt für Schritt durchgegangen, leider geht sudo apt-get purge i915-3.6-3.5-dkms bei mir nicht da er das nicht findet, nur i950 oder so was und dann habe ich das entfernt.

    Leider geht mein Touchpad immer noch nicht. Hätte ich das nicht löschen sollen???

  • 10/06/2013 - 14:31 | Permalink

    What about Raring Ringtail ?

  • Nelson Delgado
    06/08/2014 - 17:52 | Permalink

    Thanks a lot for the fix my friend, I changed „quantal“ to „trusty“ in the script, gave it +x, and worked like a charm in 14.04… those drivers installed by the „Intel-linux-graphics-installer“ really screwed up 2 machines at home!

  • Bob
    20/05/2015 - 15:43 | Permalink

    You sir, are a saint. Just used this to fix my 14.04 Ubuntu machine. Worked like a charm!

  • Jorgen
    13/04/2016 - 11:29 | Permalink

    Saved my hide today dude! Thank you!

  • Schreibe einen Kommentar

    Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.