LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware Current - kernel_headers -- installpkg or upgradepkg (https://www.linuxquestions.org/questions/slackware-14/slackware-current-kernel_headers-installpkg-or-upgradepkg-4175574148/)

kjhambrick 03-06-2016 02:40 PM

Slackware Current - kernel_headers -- installpkg or upgradepkg
 
All --

Looked for similar Threads this time and don't see one <G>

Something I've never been sure about with new kernels and -current.

I am doing an installpkg on the new 4.4.4 kernel-generic, kernel-huge, kernel-modules and kernel-source.

Should I installpkg or upgradepkg the 4.4.4 kernel-headers ?

Thanks !

-- kjh

titopoquito 03-06-2016 03:58 PM

As long as you update your bootloader appropriately you should be able to use upgradepkg for all of them, not just kernel-headers.

EDIT: See cwizardone's objection in the following post and use installpkg for your kernel(s), not upgradepkg.

cwizardone 03-06-2016 04:19 PM

Quote:

Originally Posted by titopoquito (Post 5511309)
As long as you update your bootloader appropriately you should be able to use upgradepkg for all of them, not just kernel-headers.

If it is your intent to overwrite your working kernel, then you could do that, but what if the new kernel doesn't boot?

According to Alien Bob,

Quote:

...Always use "installpkg" to install a new kernel alongside the working kernel and add the new kernel to your LILO configuration so you have a choice at boot. See http://docs.slackware.com/howtos:sla...out_the_kernel

titopoquito 03-06-2016 04:33 PM

Quote:

Originally Posted by cwizardone (Post 5511317)
If it is your intent to overwrite your working kernel, then you could do that, but what if the new kernel doesn't boot?

According to Alien Bob,

Yep you are right. I use upgradepkg nevertheless and have a mini ISO file just in case. So technically you don't have to use installpkg for the kernel, but you gave the better advice to the OP 😀

kjhambrick 03-06-2016 06:15 PM

Thanks all.

It's too reckless for me to upgradepkg the kernels, kernel-modules and kernel-source.

I did a bit more research and looked at the content of the kernel-modules-*.txz package and I did an upgradepkg on the kernel-headers .

This was based on what I read about glibc being compiled against the kernel-headers.

I trust Pat so I did the upgradepkg and marking this one solved.


-- kjh( successfully running 4.4.4 and multilib )

Code:

# tar -Jtvf slackware64/d/kernel-headers-4.4.4-x86-1.txz |grep '/$'
drwxr-xr-x root/root        0 2016-03-03 19:19 ./
drwxr-xr-x root/root        0 2016-03-03 19:19 install/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/rdma/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/rdma/hfi/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/asm-generic/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/scsi/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/scsi/fc/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/asm-x86/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/video/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/mtd/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/sound/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/tc_ematch/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/dvb/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/netfilter_ipv6/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/isdn/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/hdlc/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/sunrpc/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/tc_act/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/netfilter/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/netfilter/ipset/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/netfilter_bridge/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/spi/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/netfilter_arp/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/byteorder/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/nfsd/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/caif/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/android/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/can/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/iio/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/netfilter_ipv4/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/wimax/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/hsi/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/raid/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/mmc/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/linux/usb/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/uapi/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/misc/
drwxr-xr-x root/root        0 2016-03-03 19:19 usr/include/xen/



All times are GMT -5. The time now is 09:35 AM.