LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-29-2010, 02:11 AM   #1
ahwm
Member
 
Registered: Jan 2010
Location: Idaho
Distribution: Slackware 14.1
Posts: 41

Rep: Reputation: 16
Question slapt-get and kernel upgrades question


I noticed that slapt-get excludes a lot of package titles based on aaa, glibc, and kernel.

I've been wondering why, and haven't been able to find any definitive answers... Anyone here have any ideas on why that is? My Slackware installation is currently kernel 2.6.29.6 (I think) and the newest available on the official repositories is 2.6.32.5 (or something like that).

When I put in slapt-get --upgrade it spits out about 15 packages that are excluded that it won't upgrade. Now, I know I can remove the exclusions by editing the slapt-get configuration file, but I don't want to if it's going to screw something up. So my question is:

Is there a reason those are excluded? Is it unsafe to upgrade the kernel with slapt-get?

Any insight would be greatly appreciated.
 
Old 01-29-2010, 02:39 AM   #2
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
If you want to upgrade your kernel, glibc and the likes, use slackpkg. It provides you with all the official updates found in the Slackware ChangeLog. You can also be quite sure that nothing will go wrong.

-A
 
Old 01-29-2010, 02:55 AM   #3
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Rep: Reputation: 20
Quote:
You can also be quite sure that nothing will go wrong.
I'd rephrase it: It's less likely that something goes wrong
I tried it twice and each time it left me with either unbootable system or it didn't load the modules.
(but it might have been just my lack of luck/experience)

Probably for that reason /etc/slackpkg/blacklist says:

Quote:
Automated upgrade of kernel packages aren't a good idea (and you need to
# run "lilo" after upgrade). If you think the same, uncomment the lines
# below
#
kernel-modules
kernel-source
kernel-headers
kernel-firmware
kernel-generic
kernel-huge
 
Old 01-29-2010, 11:08 AM   #4
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
Can't remember having to remove blacklisted kernel packages, and yet I can download all of them.. (Maybe I've just avoided any problems by using my own compiled kernels ). The only ever problem I've had with slackpkg updates was with the shared-mime-info package, which sent all my LXDE desktop icons into limbo.

-A
 
Old 01-29-2010, 11:31 AM   #5
kforbus
Member
 
Registered: Sep 2009
Location: Maryland
Distribution: Slackware
Posts: 68

Rep: Reputation: 29
Quote:
Originally Posted by Ahmed View Post
Can't remember having to remove blacklisted kernel packages, and yet I can download all of them.. (Maybe I've just avoided any problems by using my own compiled kernels

No kidding. I blacklisted anything kernel related in slackpkg. When I want to upgrade or change my kernel, I just compile my own. I let slackpkg handle upgrading almost everything else. Works like a charm that way.
 
Old 01-29-2010, 03:55 PM   #6
gapan
Member
 
Registered: Feb 2007
Posts: 378

Rep: Reputation: 163Reputation: 163
Quote:
Originally Posted by ahwm View Post
I've been wondering why, and haven't been able to find any definitive answers... Anyone here have any ideas on why that is?
Because they are packages that can potentially break your system. For example aaa_base should never be upgraded. And you could easily miss a kernel upgrade if it was possible to upgrade using just slapt-get --upgrade. Which would mean that you probably didn't run lilo after upgrading the kernel, which would in turn mean that your system would not boot the next time. By putting them in the EXCLUDE list, slapt-get forces the user to make a conscious choice if he wants to upgrade these critical packages. If the user really wants to do the upgrade he can still use slapt-get to upgrade. Specifying the packages to upgrade explicitly with -i will always work, even if they are in the EXCLUDE list. For example:
Code:
slapt-get -i kernel-huge
will upgrade the kernel-huge package anyway.

And using slapt-get is of course just as safe as using slackpkg.
 
Old 01-29-2010, 05:16 PM   #7
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
Slapt-get always prefers the package with the higher version.
(Also, it's sometimes wrong about which version of a package is newer,
and this isn't the desired behavior anyway.)

Slackpkg doesn't care which package has a higher version,
it always prefers the version present on the Slackware mirror.

Slackpkg is the safer choice.
 
Old 01-30-2010, 11:33 PM   #8
ahwm
Member
 
Registered: Jan 2010
Location: Idaho
Distribution: Slackware 14.1
Posts: 41

Original Poster
Rep: Reputation: 16
Well, reading another thread on here, sounds like I won't want to upgrade the kernel anyway as the new kernel appears to have removed IDE support... My motherboard currently does not have SATA :P

But that's for the information...
 
  


Reply



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
Post your slapt-getrc for slapt-get/gslapt uppman Slackware 16 05-19-2009 08:03 AM
Slapt-get Kernel? lunarcloud_88 Slackware 29 08-14-2005 06:39 AM
/etc/slapt-getrc modification fails to influence slapt-get timsch75 Slackware 1 04-07-2004 08:48 AM
Slackware 9.1 tree/slapt-get question 187807 Slackware 3 02-20-2004 06:36 PM
slapt-get on slackware 9.1 question versaulis Linux - Software 0 11-12-2003 09:46 PM

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

All times are GMT -5. The time now is 07:41 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
Open Source Consulting | Domain Registration