LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-14-2008, 08:37 PM   #1
maniac matt
Member
 
Registered: Oct 2007
Location: Beantown
Distribution: Arch Linux
Posts: 30

Rep: Reputation: 15
Help updating slackware..what is the best way?


Hey everyone,

I am somewhat of a linux noob and slackware noob at that...but i have been trying yo update Slackware, but everytime i do i end up reinstalling..

What is the best and safest way to update slackware? I Have tried Slackpkg..but it hasn't seems to do much good...or maybe I just screw it up each time.


thanks.. matt
 
Old 01-14-2008, 08:57 PM   #2
Lycanthrope
LQ Newbie
 
Registered: Jan 2008
Location: The Frozen Tundra
Distribution: FreeBSD, Slackware
Posts: 9

Rep: Reputation: 0
IMO it doesn't get much easier than slackpkg. If this is for a Slack 12 install, did you edit the version number in the line for your chosen mirror in /etc/slackpkg/mirrors ?
 
Old 01-14-2008, 09:33 PM   #3
maniac matt
Member
 
Registered: Oct 2007
Location: Beantown
Distribution: Arch Linux
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lycanthrope View Post
IMO it doesn't get much easier than slackpkg. If this is for a Slack 12 install, did you edit the version number in the line for your chosen mirror in /etc/slackpkg/mirrors ?

I used one of the "current" links, but after a restart it couldn't start X.

so all i have to do is change is the "11.0" to "12.0"

ex:

ftp://distro.ibiblio.org/pub/linux/d...lackware-11.0/

i have to change an line like that to...

ftp://distro.ibiblio.org/pub/linux/d...lackware-12.0/




Thanks again. Matt
 
Old 01-14-2008, 09:43 PM   #4
Lycanthrope
LQ Newbie
 
Registered: Jan 2008
Location: The Frozen Tundra
Distribution: FreeBSD, Slackware
Posts: 9

Rep: Reputation: 0
Yes. Updating to current is more involved and unless you have a real reason to use current, stick with the stable release which of course is currently :P 12. Yes.. just change 11 to 12. Once you edit the mirrors file, edit the blacklist file if you so desire.

Then, its simply a matter of running the following: (depending on what you initially installed, the install-new and install patches steps may yield stuff you don't want or need installed, or may show nothing. ie: I don't run KDE, so I don't install those items)

slackpkg update
slackpkg install-new
slackpkg install patches
slackpkg upgrade-all
 
Old 01-14-2008, 09:54 PM   #5
maniac matt
Member
 
Registered: Oct 2007
Location: Beantown
Distribution: Arch Linux
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lycanthrope View Post
Yes. Updating to current is more involved and unless you have a real reason to use current, stick with the stable release which of course is currently :P 12. Yes.. just change 11 to 12. Once you edit the mirrors file, edit the blacklist file if you so desire.

Then, its simply a matter of running the following: (depending on what you initially installed, the install-new and install patches steps may yield stuff you don't want or need installed, or may show nothing. ie: I don't run KDE, so I don't install those items)

slackpkg update
slackpkg install-new
slackpkg install patches
slackpkg upgrade-all

Now if i want to update the Kernel... i need to uncomment these lines and do what it says?

# This is a blacklist file. Any packages listed here won't be
# upgraded, removed, or installed by slackpkg.
#
# The correct syntax is:
#
# to blacklist the package xfree86-devel-4.3.0-i386-1 the line will be:
# xfree86-devel
#
# DON'T put any blank line(s) or any space(s) before or after the package name.
# If you do this, the blacklist will NOT work.
#
# 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-ide
#kernel-modules
#kernel-source
#kernel-headers



Or is there a better way to update the Kernel?
 
Old 01-14-2008, 10:26 PM   #6
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Even if you are using a tool to automatically do upgrades for you I would suggest that you read the CHANGES_AND_HINTS.txt file from the Slackware source.

If nothing else, I would say you should do the upgrade from runlevel 1 as this will decrease the likelihood of upgraded a program while it is still being used in a running process,
 
Old 01-15-2008, 07:47 AM   #7
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Quote:
Originally Posted by Lycanthrope View Post

slackpkg update
slackpkg install-new
slackpkg install patches
slackpkg upgrade-all
No, don't do that. You'll run into big troubles.

Don't use slackpkg to upgrade to newest version.

Either follow the UPGRADE.txt or backup your data and reinstalll from scratch, which is always the best method for all o/ses, including windoze, etc.
 
  


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
Updating Slackware 11 lgtrean Slackware 10 06-17-2007 12:18 PM
updating slackware-10 greythorne Slackware 3 06-27-2004 02:15 PM
Updating Slackware Toth Slackware 1 06-17-2004 11:50 AM
Updating Slackware chroot Slackware 1 09-01-2003 08:23 PM
updating slackware andrewlkho Slackware 5 08-19-2003 03:57 AM

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

All times are GMT -5. The time now is 06:46 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