Not finding kernel-source package

General talk about packaging procedures and packages.
Post Reply
DrCR
Posts: 58
Joined: 30. May 2014, 05:14

Not finding kernel-source package

Post by DrCR »

I'm running Salix KDE 14.0.1, and I'm not finding the kernel-source package referred to in the below links.

Code: Select all

https://docs.salixos.org/wiki/How_to_install_the_kernel_source
https://docs.salixos.org/wiki/How_to_Install_the_proprietary_NVIDIA_driver#Installation_of_kernel_sources
I'm talking to the .nl mirror -- still not finding it even after having commented out the EXCLUDE line, and I tried checking another mirror (via the mirror's PACKAGES.TXT or the like) as well, to no avail. Was this package pulled, or is this human error on my part?


(Side note: The only reason I'm working to install the Nvidia binary driver is to avoid my recently acquired 700-series Nvidia from sounding like a vacuum cleaner. If there's a way this can be achieved without having to install the Nvidia binary driver (or if doing so would be to no avail in Linux), I'm all ears, please do let me know.)
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Not finding kernel-source package

Post by gapan »

How exactly have you looked for it?
DrCR wrote:...after having commented out the EXCLUDE line...
Bad idea. Don't do that.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Not finding kernel-source package

Post by mimosa »

What happens if you do

Code: Select all

sudo slapt-get -i kernel-source
DrCR
Posts: 58
Joined: 30. May 2014, 05:14

Re: Not finding kernel-source package

Post by DrCR »

(I already uncommented the EXCLUDE line in slapt-getrc. I simply did an update and search with it commented out to see if that would make any difference.)

Code: Select all

# slapt-get --update
Retrieving package data [http://ftp.nluug.nl/os/Linux/distr/salix/x86_64/14.0/]...Cached
Retrieving patch list [http://ftp.nluug.nl/os/Linux/distr/salix/x86_64/14.0/]...Done
Retrieving checksum list [http://ftp.nluug.nl/os/Linux/distr/salix/x86_64/14.0/]...Cached
Retrieving checksum signature [http://ftp.nluug.nl/os/Linux/distr/salix/x86_64/14.0/]...Cached
Verifying checksum signature [http://ftp.nluug.nl/os/Linux/distr/salix/x86_64/14.0/]...No key for verification
Retrieving ChangeLog.txt [http://ftp.nluug.nl/os/Linux/distr/salix/x86_64/14.0/]...Cached
Reading Package Lists...Done
# slapt-get --search kernel-source                                                                                             
# slapt-get -i kernel-source
Reading Package Lists...Done                                                                                                                  
No such package: kernel-source                                                                                                                
# 
I checked another mirror and am not seeing it there either:
http://slackware.uk/salix/x86_64/14.0/PACKAGES.TXT
https://duckduckgo.com/?q=%22kernel-sou ... j=g&ia=web
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Not finding kernel-source package

Post by gapan »

You did more than remove the EXCLUDE line. You also removed repositories. Reinstall slapt-get and reinstate slapt-getrc

Code: Select all

mv /etc/slapt-get/slapt-getrc.new /etc/slapt-get/slapt-getrc
Image
Image
DrCR
Posts: 58
Joined: 30. May 2014, 05:14

Re: Not finding kernel-source package

Post by DrCR »

Thanks, --search now yields kernel-source hits after overwriting slapt-getrc with slapt-getrc.new's data.

Albeit, do neither of the kernel-source options (based on their numbering: kernel-source-3.2.29-noarch-1, kernel-source-3.2.83-noarch-1_slack14.0) correspond to the installed kernel?

# slapt-get --search kernel-
autofs-5.0.5-x86_64-1 [inst=yes]: autofs (kernel-based automounter)
kernel-firmware-20120804git-noarch-1 [inst=no]: kernel-firmware (Firmware for the kernel)
kernel-generic-3.2.29-x86_64-1 [inst=no]: kernel-generic (a general purpose SMP Linux kernel)
kernel-generic-3.2.83-x86_64-1_slack14.0 [inst=no]: kernel-generic (a general purpose SMP Linux kernel)
kernel-headers-3.2.29-x86-1 [inst=no]: kernel-headers (Linux kernel include files)
kernel-headers-3.2.83-x86-1_slack14.0 [inst=no]: kernel-headers (Linux kernel include files)
kernel-huge-3.2.29-x86_64-1 [inst=no]: kernel-huge (a fully-loaded SMP Linux kernel)
kernel-huge-3.2.83-x86_64-1_slack14.0 [inst=no]: kernel-huge (a fully-loaded SMP Linux kernel)
kernel-modules-3.2.29-x86_64-1 [inst=no]: kernel-modules (Linux kernel modules)
kernel-modules-3.2.83-x86_64-1_slack14.0 [inst=no]: kernel-modules (Linux kernel modules)
kernel-source-3.2.29-noarch-1 [inst=no]: kernel-source (Linux kernel source)
kernel-source-3.2.83-noarch-1_slack14.0 [inst=no]: kernel-source (Linux kernel source)
kernelive-3.2.29-x86_64-1cp [inst=no]: kernelive (Linux kernel for Salix Live)

libaio-0.3.109-x86_64-1 [inst=yes]: libaio (asynchronous I/O library)
kernel-firmware-20130512git-noarch-1 [inst=yes]: kernel-firmware (Firmware for the kernel)
kernel-headers-3.2.45-x86-3 [inst=yes]: kernel-headers (Linux kernel include files)
kernel-huge-3.2.45-x86_64-3 [inst=yes]: kernel-huge (a fully-loaded SMP Linux kernel)
kernel-modules-3.2.45-x86_64-3 [inst=yes]: kernel-modules (Linux kernel modules)
#
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Not finding kernel-source package

Post by gapan »

Upgrade your kernel packages to 3.2.83. Don't forget to run lilo after.
Image
Image
Post Reply