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 02-05-2009, 04:54 AM   #1
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
slackware security updates


Hi,

I'm a debian addept, but I have a spare laptop and would like to install slackware.
How does slackware handles security updates?
Will this be done automatically, like apt in debian, or do I have to install them myself?
If yes, how do I know when and what?

Thank you for your time
 
Old 02-05-2009, 05:00 AM   #2
cpliviu
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Rep: Reputation: 0
there is slapt-get
 
Old 02-05-2009, 05:04 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
The best way is to regularly check the security advisories and use slackpkg to grab the updates. You could even make life slightly easier by using a cron job to run slackpkg once a week/month/whenever to update itself and grab any updates.
 
Old 02-05-2009, 05:04 AM   #4
kukibl
Member
 
Registered: Jun 2008
Distribution: Slackware64
Posts: 68

Rep: Reputation: 20
You can download security updates manually from /patches directory for your version of Slackware and install them using upgradepkg command.

If you prefer more automatic way, use slackpkg tool which is located in /extra.

Edit: XavierP was few seconds faster.

Last edited by kukibl; 02-05-2009 at 05:06 AM.
 
Old 02-05-2009, 05:32 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,542

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
In Slackware 12.2 (last stable version) slackpkg is now in the /ap directory, so it will automatically be installed if you make a full install -- which is highly recommended.

So subscribe to the slackware-security mailing list, sending an email to majordomo <at> slackware.com with the phrase "subscribe slackware-security" in the body of the email.

Every time you receive a security advisory, read it and run as root : 'slackpkg update && slackpkg upgrade-all'. Of course you can automate this process if you wish.

Keep in mind though that mirrors need some time to be updated.

Last edited by Didier Spaier; 02-05-2009 at 05:40 AM.
 
Old 02-05-2009, 08:06 AM   #6
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by kukibl View Post
You can download security updates manually from /patches directory for your version of Slackware and install them using upgradepkg command.
This is the method that I, personally, find best. It's easy, doesn't take much time (in part because there are only a few updates each month), and I get to read the changelog and learn what's going on. I use a small bash script (that I manually edit) to download the latest patches from my favorite mirror and apply the updates.

Slackware is not like Debian or its forks (like Ubuntu) in that you won't find a whole bunch of changes every time you log on. I think this is because the Slackware team usually only issues updates when they come from the people maintaining the software.

Regards,

-Drew
 
Old 02-05-2009, 09:25 AM   #7
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,248

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
Quote:
Originally Posted by Lufbery View Post
This is the method that I, personally, find best. It's easy, doesn't take much time (in part because there are only a few updates each month), and I get to read the changelog and learn what's going on. I use a small bash script (that I manually edit) to download the latest patches from my favorite mirror and apply the updates.

Slackware is not like Debian or its forks (like Ubuntu) in that you won't find a whole bunch of changes every time you log on. I think this is because the Slackware team usually only issues updates when they come from the people maintaining the software.

Regards,

-Drew
This is my preferred method of updating Slackware as well, I manually download updates when I receive a security advisory e-mail from Slackware.
 
Old 02-08-2009, 12:45 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Original Poster
Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Thank you all for the answers
I"m ready to go :-)
 
Old 02-08-2009, 02:29 PM   #9
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 49
http://www.linuxquestions.org/questi...2/#post3436331

Another of (get involved, IOW not quite so much automated) [as some other distros].

However, many do make good points for slackpkg though.

I've not a need to try slackpkg due it's sufficiently handy for me to merely continue as I have been for years (slackupdate as per my post at the above link)

Alan.
 
Old 02-08-2009, 04:37 PM   #10
campher
Member
 
Registered: Jul 2006
Distribution: slackware
Posts: 51

Rep: Reputation: 15
what all posters forgot to mention,
make sure you are in single user mode without X when you update.

i broke my whole X system once when X things where updated and i run slackpkg from a X console.

the other must know thing with slackpkg is that its not overwriting files in /etc. its asking you at the end if it should overwrite, diff or ignore these files (in case of ignore the new configuration file is stored with the .new extension, you have to check yourself if you want it or not)

just in case youre not yet familiar with slackpkg


campher
 
  


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
Keeping Slackware 12.0 patched with security updates pwc101 Slackware 25 12-30-2007 12:56 PM
Slackware security updates !!! JKoder Linux - Security 1 06-09-2006 08:31 AM
Slackware security updates - for how long? Nobber Slackware 12 04-03-2006 12:54 PM
Need Security Updates........I think. unixfreak Linux - Security 1 08-27-2004 01:30 PM
only security updates rafc Debian 2 06-26-2004 01:27 PM


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