LinuxQuestions.org
Visit Jeremy's Blog.
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 05-18-2007, 07:13 PM   #1
lgtrean
Member
 
Registered: Jan 2006
Location: NY
Distribution: Ubuntu
Posts: 44

Rep: Reputation: 18
Updating Slackware 11


Hi,

I just installed Slackware 11 (released October 2, 2006).
Does that mean I only need to apply security updates issued after October 2, 2006?

Do I only need to visit the Slackware Linux Security Advisories (http://www.slackware.com/security/) and download all Security Updates including and after October 2, 2006?

The first security update after the release of Slackware 11 is:
- 2006-10-25 - [slackware-security] qt (SSA:2006-298-01)

So, I'll install that update.

Then, I'll work my way up the list to the next update which is:
- 2006-11-03 - [slackware-security] screen (SSA:2006-307-02)

So, I'll install that update.

And I'll keep going up the list until I get to the final update as of today which is:
- 2007-05-16 - [slackware-security] libpng (SSA:2007-136-01)

Is that the idea?

I apologize if this was answered but I did search and I found tons of information on how to use the package system that Slackware has. I just couldn't find the exact steps to take after installation. I guess the steps to take to update an OS is simple after installing Windows or Ubuntu. The user just clicks something like "Update the OS". But for Slackware you need to know more. I just can't locate this piece of the puzzle!

Thank you for your time and help.
 
Old 05-18-2007, 07:34 PM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
To catch up with all security patches you can install the packages from the patches folder located on your favorite mirror site.

http://slackware.mirrors.tds.net/pub...-11.0/patches/

There's even a PACKAGES.TXT file describing the packages.
 
Old 05-18-2007, 07:36 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Yeah, do the above ^^^

(I was a bit late in posting)

Last edited by H_TeXMeX_H; 05-18-2007 at 07:38 PM.
 
Old 05-18-2007, 11:20 PM   #4
lgtrean
Member
 
Registered: Jan 2006
Location: NY
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 18
Hi,

Thanks for your help!
 
Old 05-19-2007, 05:35 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
A simple way to do it is...

1. Use a shell (cd to a good directory to download first eg ~/patches) and ftp into a slackware mirror (username is anonymous and password is non-existent just hit enter)
Code:
ftp slackware.cs.utah.edu
2. cd to your versions patch folder
Code:
cd pub/slackware/slackware-11.0/patches/packages
3. turn off prompting
Code:
prompt
4. get all the tgz packages
Code:
mget *tgz
5. exit the ftp
Code:
exit
6. upgrade the packages and reinstall if you got repeats (reinstall is something I do you can just pick which packages you need to update by hand)
Code:
upgradepkg --reinstall *tgz
7. Sit back and wait. Then you are done. Other things to check are any programs installed out of extra (mysql, php, ktorrent, firefox 2.0 etc)

At least I think this is simple. Especially when you are trying to patch an older version of Slackware with a lot of packages.
 
Old 05-19-2007, 10:00 AM   #6
lgtrean
Member
 
Registered: Jan 2006
Location: NY
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 18
Hi bassmadrigal,

Thanks for the additional information.

Have a great day!
 
Old 05-19-2007, 10:35 AM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
In fine Slackware tradition, you have been shown how to do this manually. An alternative is to install the slackpkg package in the extra directory. Choose your mirror (uncomment 1 line) in /etc/slackpkg/mirrors and you can stay current with:

Code:
slackpkg update
slackpkg upgrade-all
which does pretty much the same thing as what was suggested by bassmadrigal, with the addition that it analyses the package lists to tell you if there are packages you should upgrade and what they are.

Brian
 
Old 05-19-2007, 10:39 AM   #8
ric
LQ Newbie
 
Registered: Jul 2006
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Note that installing the Slack 11 seamonkey-1.1.1-i486-1_slack11.0.tgz update removes a number of links in /usr/lib needed by gxine (libmozjs.so libnspr4.so libplc4.so libplds4.so). Installing mozilla-nss-3.9.2-i486-1_slack11.0.tgz puts libraries in place of most of the removed links, but /usr/lib/libmozjs.so is still missing. I found
cd /usr/lib; ln -s firefox/libmozjs.so .
to be a suitable workaround. Previously, that link was to seamonkey-1.0.8/libmozjs.so
However, seamonkey 1.1.1's libmozjs.so doesn't work with gxine which is why I used the firefox variant.
 
Old 05-19-2007, 11:29 AM   #9
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
ric,

I thought this deserved it's own thread. Please see my answer at http://www.linuxquestions.org/questi...d.php?t=555163.

Brian
 
Old 06-10-2007, 12:11 PM   #10
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by bassmadrigal
A simple way to do it is...

1. Use a shell (cd to a good directory to download first eg ~/patches) and ftp into a slackware mirror (username is anonymous and password is non-existent just hit enter)
Code:
ftp slackware.cs.utah.edu
2. cd to your versions patch folder
Code:
cd pub/slackware/slackware-11.0/patches/packages
3. turn off prompting
Code:
prompt
4. get all the tgz packages
Code:
mget *tgz
5. exit the ftp
Code:
exit
6. upgrade the packages and reinstall if you got repeats (reinstall is something I do you can just pick which packages you need to update by hand)
Code:
upgradepkg --reinstall *tgz
7. Sit back and wait. Then you are done. Other things to check are any programs installed out of extra (mysql, php, ktorrent, firefox 2.0 etc)

At least I think this is simple. Especially when you are trying to patch an older version of Slackware with a lot of packages.
A more reliable way is just

Code:
wget ftp://slackware.mirrors.tds.net/pub/slackware/slackware-11.0/patches/packages/*.tgz
upgradepkg *.tgz
 
Old 06-17-2007, 12:18 PM   #11
lgtrean
Member
 
Registered: Jan 2006
Location: NY
Distribution: Ubuntu
Posts: 44

Original Poster
Rep: Reputation: 18
Hi H_TeXMeX_H,

Thank you!
And thanks to everyone else who helped.
 
  


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? JCdude2525 Linux - Software 2 08-15-2004 04:08 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 XPediTioN Slackware 7 03-24-2004 03:22 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 09:28 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
Open Source Consulting | Domain Registration