LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-17-2004, 09:03 AM   #1
Toth
Member
 
Registered: Aug 2003
Posts: 83

Rep: Reputation: 15
Updating Slackware


I am writing out this very quick procedure on how to update Slackware because I've seen far too many people in this forum blindly update using tools like swaret and slapt-get and getting bit in the ass for it with broken software. This is for tracking development in -current. Because only security fixes are applied to stable releases, it is perfectly fine to blindly update with swaret or slapt-get if you don't run -current.

Here is the procedure I use to update to -current:

1) Check the ChangeLog on Slackware.com. Note any packages removed, retired to /pasture, renamed, or added. Also a good place for the latest news on future plans for the distribution including releases, etc.

2) Use an automatic package management tool to upgrade packages on your system. Slackpkg, swaret, slapt-get....it's your choice. Or manually download the packages and use upgradepkg.

3) Run removepkg on any removed/retired packages.

4) Use an automatic package management tool to install any new packages that you want, or manually download and install them. Note that sometimes libraries necessary for some of your upgraded software to run will be added. If anything is added to /l, you're probably better off installing it just in case. Similarly, the same is true for anything added to /gnome if you use GNOME.

5) cd /etc && find . -name "*.new" and merge in any appropriate changes.

6) Test things out to make sure it all works.

If you have any comments, suggestions, or additions, feel free to add them!

Most of the problems I've seen with updates on this forums could have been avoided had this procedure been followed.

Happy Slacking!
 
Old 06-17-2004, 12:50 PM   #2
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
Excellent advice. That's pretty much what I do, and I've never had any problems.

Remember people, swaret and its ilk can be great timesaving tools, but they can't be relied on to do everything for you. They will not automatically detect any new or renamed packages, and they will not remove retired packages. Always read the changelog before updating.
 
  


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
Updating from Slackware 10 to 10.1 RestInPieces Linux - Software 6 03-23-2005 08:20 AM
updating slackware-10 greythorne Slackware 3 06-27-2004 03:15 PM
Updating Slackware XPediTioN Slackware 7 03-24-2004 04:22 PM
Updating Slackware chroot Slackware 1 09-01-2003 09:23 PM
updating slackware andrewlkho Slackware 5 08-19-2003 04:57 AM


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

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