LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-06-2016, 02:40 PM   #1
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
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
 
Old 03-06-2016, 03:58 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,603

Rep: Reputation: 128Reputation: 128
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.

Last edited by titopoquito; 03-06-2016 at 04:34 PM. Reason: Bad advice
 
Old 03-06-2016, 04:19 PM   #3
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" & Xfce.
Posts: 4,679
Blog Entries: 1

Rep: Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017
Quote:
Originally Posted by titopoquito View Post
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

Last edited by cwizardone; 03-06-2016 at 04:22 PM.
 
1 members found this post helpful.
Old 03-06-2016, 04:33 PM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,603

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by cwizardone View Post
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 😀
 
Old 03-06-2016, 06:15 PM   #5
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Original Poster
Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
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/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slackpkg installpkg upgradepkg not working very new to slackware lexish Slackware 5 11-05-2012 11:22 AM
Slackware current installpkg line 59 rev command not found disturbed1 Slackware 4 02-28-2011 04:03 PM
Accidentally used installpkg instead of upgradepkg; any recourse? Gault LaRue Slackware 4 11-28-2009 11:43 PM
How to upgrade to current with upgradepkg? rangertang Slackware 3 11-25-2008 01:03 AM
question about upgradepkg on slackware 9.1 artistik Linux - General 1 03-10-2004 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration