[Yum] yumdownloader --source kernel does not intall src for the running kernel?

tomasflyer at netscape.net tomasflyer at netscape.net
Wed Jan 25 12:32:18 UTC 2006


Hi Panu,
 
many thanks for your quick answer!
 
Of course I can download the RPM directly, but I first tried to follow the instructions "To simplify the following directions, we have assumed that you want to configure the kernel sources to match your currently-running kernel." But it's a Wiki so I could maybe update the text myself, if I bother?
 
Best regards
Flyer
 
----------------
 
On Wed, 25 Jan 2006 tomasflyer at netscape.net wrote:

> Hi,
>
> I need the source code for my currently running kernel and more and more 
> desperate try to follow the instructions at:
>
> http://fedoraproject.org/wiki/Docs/Beats/Kernel?highlight=%28kernel%29
>
> My currently installed kernels:
> % yum list kernel
> ...
> Installed Packages
> kernel.i686                              2.6.14-1.1656_FC4      installed
> kernel.i686                              2.6.14-1.1637_FC4      installed
> Available Packages
> kernel.i586                              2.6.14-1.1656_FC4 
> updates-released[
>
> My currently running kernel:
> % uname -r
> 2.6.14-1.1656_FC4
>
> Trying to get the source rpm:
> % yumdownloader --source kernel
> ./kernel-2.6.11-1.1369_FC4.src.rpm already exists and appears to be complete
>
> But kernel-2.6.11 is neither the running kernel nor even installed?!?
>
> I probably missed some configuration or parameter somewhere. Can anyone 
> please give me a hint?

Yum default setup in FC doesn't include SRPMS repository of updates, and 
in fact the repository metadata isn't even created for updates SRPMS:
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/SRPMS/

Downloading the latest (or one that matches your running kernel) kernel 
src.rpm manually ain't that hard...
___________________________________________________
Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20060125/5de4a199/attachment-0001.htm 


More information about the Yum mailing list