[PlanetCCRMA] Kernel sources

Noel Bush noel@x-31.com
Wed Dec 17 07:11:02 2003


You want the kernel-source rpm, not the kernel srpm.

To see a list of what's available:

# apt-get install kernel-source
Reading Package Lists... Done
Building Dependency Tree... Done
Package kernel-source is a virtual package provided by:
  kernel-source#2.4.23-1.ll.rhfc1.ccrma 2.4.23-1.ll.rhfc1.ccrma
  kernel-source#2.4.23-1.ll.rhfc1.ccrma 2.4.23-1.ll.rhfc1.ccrma
  kernel-source#2.4.22-9.23rc3.ll.rhfc1.ccrma
2.4.22-9.23rc3.ll.rhfc1.ccrma

 [...etc.]

You should explicitly select one to install.
E: Package kernel-source has no installation candidate

Then choose the one you want:

[root@vasya noel]# apt-get install kernel-source#2.4.23-1.ll.rhfc1.ccrma
Reading Package Lists... Done
Building Dependency Tree... Done

  [...etc.]


On Wed, 2003-12-17 at 05:26, Gerrit Niestijl wrote:
> Hi,
> 
> How can i get the kernel sources for the current planet 4.23 kernel? I
> need the kernel sources to compile the linux wlan driver for my usb
> wlan device.
> 
> I downloaded kernel-2.4.23-1.ll.src.rpm, but it dous not install in
> /usr/src. I also, after rebuilding the rpm, copied the sources in
> /usr/src/redhet/SOURCES to /usr/src, but this way it reports the wrong
> kernel version to the 'make config' process for the linux-wlan build.
> 
> Any help would be highly appreciated!