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


  Search this Thread
Old 08-31-2009, 03:13 PM   #1
Registered: Feb 2009
Distribution: Slackware64-14.1
Posts: 43

Rep: Reputation: 17
Using "slackpkg upgrade-all"

I've heard a few times, that this is a bad idea, and shouldn't be used as an easy way to upgrade many packages at once. Is this true, or can I safely use it?

I especially worry about it trying to upgrade the kernel packages...

I have tried it before and basically broke everything and had to reinstall, but I didn't exactly know what I was doing or how to go about it, and I think I used a -current mirror instead of the correct version. So I'm wondering if there is still a way to do it, without annihilating the install.

Thanks in advance for any info!

(By the way, I'm using 12.2, and will use a 12.2 mirror to do this.)

Last edited by ryan858; 08-31-2009 at 03:16 PM. Reason: including some info...
Old 08-31-2009, 03:19 PM   #2
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,661
Blog Entries: 56

Rep: Reputation: Disabled
I've never had any problems with it, never seen any criticism of it.
Old 08-31-2009, 03:20 PM   #3
Registered: Jan 2009
Location: Poland
Distribution: Arch Linux
Posts: 50

Rep: Reputation: 17
I've never had any problems too
Old 08-31-2009, 03:30 PM   #4
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Me too, never had any problems with "upgrade-all" -- but I don't upgrade my kernel using Slackpkg. However, I suppose it would do as good a job on a kernel upgrade, as it does with any other upgrade?!

Old 08-31-2009, 04:11 PM   #5
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 477

Rep: Reputation: 81
Originally Posted by ryan858 View Post
I especially worry about it trying to upgrade the kernel packages...
It should be mentioned that upgrading the kernel with slackpkg, upgradepkg or pkgtool requires extra steps.

If you're using the recommended generic kernel you'll have to run mkinitrd, change lilo.conf and run lilo before a reboot.

If you're using the non-recommended huge kernel then you might need to change lilo.conf and run lilo depending on your "image=" line in lilo.conf.
Old 08-31-2009, 04:14 PM   #6
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,789

Rep: Reputation: 4298Reputation: 4298Reputation: 4298Reputation: 4298Reputation: 4298Reputation: 4298Reputation: 4298Reputation: 4298Reputation: 4298Reputation: 4298Reputation: 4298
I use slackpkg on quite a lot of Slackware machines, and always run "slackpkg update ; slackpkg install-new ; slackpkg upgrade-all".
But, I like to do the kernel updates myself, so I add kernel, kernel-generic, kernel-huge and kernel-modules to the blacklist file /etc/slackpkg/blacklist. That way, slackpkg will only upgrade kernel-sources and kernel-headers (which is the desired way).

By the way, I never use "upgradepkg" for my kernels. I always use "installpkg" to install a new kernel package (plus the modules package) and add this new kernel to /etc/lilo.conf (and then run the "lilo" command). That way, if the new kernel turns out to be broken I can still boot into my old kernel. When the new kernel tests fine, I "removepkg" the old kernel and it's modules, remove this old kernel from lilo.conf and re-run lilo.

Old 08-31-2009, 04:20 PM   #7
Registered: Oct 2005
Location: France
Distribution: Slackware 14.2 64bit
Posts: 903
Blog Entries: 4

Rep: Reputation: 135Reputation: 135
Hello ryan858,

Another thing to pay attention to before upgrading from version 12.2: it is to read the UPGRADE.TXT and CHANGES_AND_HINTS.TXT files available in the root directory of the DVD (or first installation CD).

They contain valuable information about changes and points of attention that may cause havoc is not properly managed (ex: due to KDE4, move your old $HOME/.kde directory).

Otherwise, I also never had any issue upgrading using slackpkg tool. The tool is rock solid.
Old 08-31-2009, 05:14 PM   #8
Registered: Feb 2009
Distribution: Slackware64-14.1
Posts: 43

Original Poster
Rep: Reputation: 17
Thanks everyone! It must have not worked right before because I was using a -current mirror to upgrade 12.2. Not surprising!

Anyway, I'll take everyone's advice. And I won't try to upgrade the Kernel. But do I still have to do it manually in that case, or can I just leave it alone and upgrade everything else?


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
Boost "slackpkg upgrade-all" performance grissiom Slackware 25 09-20-2009 11:37 AM
[SOLVED] "slackpkg upgrade-all" finishes with WARNING Bruce Hill Slackware 4 08-01-2009 10:06 PM
upgrade to kernel : "make bzImage" print "parse error" math_physics Red Hat 2 06-30-2007 12:04 AM
"Shutdown" and "Restart" option missing after upgrade hansalfredche Mandriva 8 11-02-2006 08:23 AM
How to use synaptic "smart upgrade or "apt-get dist-upgrade" PenguinMolester Ubuntu 2 04-04-2005 03:11 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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