LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-31-2009, 02:13 PM   #1
ryan858
Member
 
Registered: Feb 2009
Distribution: Slackware 12.2
Posts: 37

Rep: Reputation: 16
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 02:16 PM. Reason: including some info...
 
Old 08-31-2009, 02:19 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,910
Blog Entries: 51

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

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

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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?!

Sasha
 
Old 08-31-2009, 03:11 PM   #5
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 421

Rep: Reputation: 58
Quote:
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, 03:14 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,191

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

Eric
 
Old 08-31-2009, 03:20 PM   #7
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 719
Blog Entries: 3

Rep: Reputation: 76
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, 04:14 PM   #8
ryan858
Member
 
Registered: Feb 2009
Distribution: Slackware 12.2
Posts: 37

Original Poster
Rep: Reputation: 16
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?
 
  


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


All times are GMT -5. The time now is 07:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration