PDA

View Full Version : [all variants] "Error: Dependency is not satisfiable: linux-headers"



jomex
August 19th, 2009, 01:09 PM
i was installing the new kernel from:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31-rc6/

when i want to install the headers i get:

Error: Dependency is not satisfiable: linux-headers-2.6.31-020631rc6

> sudo apt-get install linux-headers-$(uname -r)



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-2.6.31-020631rc6-generic


what's wrong?

system is Ubuntu 9.04 Alt AMD64

dstew
August 19th, 2009, 04:05 PM
Are the deb-src repositories in the /etc/apt/sources.list file? If not, you can activate them using the System --> Administration --> Software Sources interface. These are the source code repositories.

Cheesemill
August 19th, 2009, 04:10 PM
You're installing a new kernel that isn't in the standard repos.

It follows that the standard repos won't have the linux-headers package for the kernel you've installed, you'll have to search elsewhere for it (PPA maybe).


Edit - You could try apt-get install linux-headers-2.6.31 but I doubt it will work.

jomex
August 21st, 2009, 01:23 PM
given the link used above:
http://kernel.ubuntu.com/~kernel-ppa...e/v2.6.31-rc6/ (http://kernel.ubuntu.com/%7Ekernel-ppa/mainline/v2.6.31-rc6/)

how would i enter it in sources? it seems a source link always needs the form of dist/UBUNTUVERSION/CPU/...