Saturday, May 21, 2011

Kernel 2.6.38 in Squeeze Backports

Backports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates) in a stable environment so that they will run without new libraries (whenever it is possible) on a Debian stable distribution.
Add this line :
deb http://backports.debian.org/debian-backports squeeze-backports main to your sources.list and run :
apt-get update
To install kernel 2.6.38 I did ( amd64) :
apt-get -t squeeze-backports install linux-image-2.6.38-bpo.2-amd64
I needed the headers as well, but I got the message : The following packages have unmet dependencies:
linux-headers-2.6.38-bpo.2-amd64: Depends: linux-kbuild-2.6.38


Solution : just download linux-kbuild-2.6.38 from http://packages.debian.org/wheezy/linux-kbuild-2.6.38 and install it with dpkg -i . Now you can install the kernel-headers as well from squeeze-backports.

3 comments:

  1. Thank you :-)

    I've been trying to get virtualbox to compile it's modules all morning, and wasn't able to install the relevant kernel-headers package until I found this.

    A bit annoying the dependencies were broken within 'apt'... oh well.

    David.

    ReplyDelete
  2. I had the same problem David had and now it works flawlessly.

    Thanks a lot,
    El Pibe de Sistemas

    ReplyDelete
  3. 2 weeks later, the problem has been solved. I didn't need to manually download kbuild.

    ReplyDelete

Note: Only a member of this blog may post a comment.