SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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
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.
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.