Page 1 of 1

LMDE kernel 3.0 sources/headers missing

Posted: Tue Nov 01, 2011 12:43 am
by rcasha
Since upgrading the kernel to 3.0 I can't find the sources or headers for the kernel. These are needed by VirtualBox to compile its kernel modules. Have the source/header packages been renamed or something?

Re: LMDE kernel 3.0 sources/headers missing

Posted: Tue Nov 01, 2011 8:14 am
by Roken
I had a similar problem at one time, and though I don't know the cause, the solution was to boot an older kernel, purge the 3.x kernel and any headers, then re-install them.

Re: LMDE kernel 3.0 sources/headers missing

Posted: Tue Nov 01, 2011 10:04 am
by rcasha
But there seems to be no package containing the kernel source OR headers for version 3 at all. That's why I thought maybe the package name has changed for 3.0

Re: LMDE kernel 3.0 sources/headers missing

Posted: Tue Nov 01, 2011 3:26 pm
by twa
Hi,
install http://smxi.org/
and install the kernell U want.
cheers

Re: LMDE kernel 3.0 sources/headers missing

Posted: Tue Nov 01, 2011 8:19 pm
by ctrlesc
They are in sid: http://packages.debian.org/sid/linux-he ... 0-2-common

Code: Select all

user@lunch ~ $ apt-cache policy linux-headers-3.0.0-2-all
linux-headers-3.0.0-2-all:
  Installed: 3.0.0-5
  Candidate: 3.0.0-5
  Version table:
 *** 3.0.0-5 0
        500 http://ftp.debian.org/debian/ unstable/main i386 Packages
        100 /var/lib/dpkg/status

Re: LMDE kernel 3.0 sources/headers missing

Posted: Tue Nov 01, 2011 8:42 pm
by zerozero
@ctrlesc, but those are the headers for the 3.0.0-2 kernel (the one used in sid atm), testing uses 3.0.0-1;

@rcasha:
- to install the source (which i doubt you need to virtualbox, the headers yes) you need to add the "deb-src" main debian repo;
- the headers should be in synaptic (as long as there's no repo missing in your sources.list)

Re: LMDE kernel 3.0 sources/headers missing

Posted: Wed Nov 02, 2011 12:58 am
by rcasha
Yay I found it (the headers). Not sure which repo it were in though. I just enabled every repository in synaptic.

Re: LMDE kernel 3.0 sources/headers missing

Posted: Wed Nov 02, 2011 12:48 pm
by zerozero
rcasha, just to be on the safe side (and mark this as solved) can you provide us, please the output of

Code: Select all

inxi -r