LMDE kernel 3.0 sources/headers missing

Archived topics about LMDE 1 and LMDE 2
Locked
rcasha

LMDE kernel 3.0 sources/headers missing

Post 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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Roken
Level 5
Level 5
Posts: 737
Joined: Fri Nov 19, 2010 4:55 pm
Location: Newport, S Wales

Re: LMDE kernel 3.0 sources/headers missing

Post 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.
Kernel Linux Tex 5.12.14-zen1-1-zen, XFCE
Arch
Dual GTX1070 8Gb
AMD Ryzen 1800X
32Gb RAM
rcasha

Re: LMDE kernel 3.0 sources/headers missing

Post 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
twa

Re: LMDE kernel 3.0 sources/headers missing

Post by twa »

Hi,
install http://smxi.org/
and install the kernell U want.
cheers
ctrlesc

Re: LMDE kernel 3.0 sources/headers missing

Post 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
zerozero

Re: LMDE kernel 3.0 sources/headers missing

Post 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)
rcasha

Re: LMDE kernel 3.0 sources/headers missing

Post by rcasha »

Yay I found it (the headers). Not sure which repo it were in though. I just enabled every repository in synaptic.
zerozero

Re: LMDE kernel 3.0 sources/headers missing

Post 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
Locked

Return to “LMDE Archive”