LinuxQuestions.org
Help answer threads with 0 replies.
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-10-2014, 11:53 PM   #1
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
What is the command to install security updates?


I hate having to ask such a ridiculously newbish question, but I have trawled through the Slackbook and searched LQ without discovering how to do the most basic of procedures. What is the command to install security updates? I assume Slackware has them occasionally, since there are a couple years between releases. Or is my Debian conditioning interfering with my ability to understand Slackware? The only thread I could find was this one: http://www.linuxquestions.org/questi...pdates-177371/
 
Old 01-11-2014, 12:37 AM   #2
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Just as in the thread you reference, go ahead and install them manually if you must reject "non-security" updates. See the changelog:
ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt

There is really no good reason that I can think of to avoid simply upgrading everything that slackpkg
offers you to update. In 100% of cases, I have found that the sheer megabytes of a Slackware upgrade
is a fraction of that which Debian expects you to "upgrade".
Slackware is just way more :tight: in my experience, and unlike Debian, doesn't need to upgrade the bathtub,
garage, and kitchen sink just because a few libs change...Speaking here from 10 years of Debian usage. My advice:
Code:
#slackpkg update
#slackpkg upgrade-all
and call it good. I think you'll be surprised at how light the updates are.
 
1 members found this post helpful.
Old 01-11-2014, 01:20 AM   #3
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711

Original Poster
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
#slackpkg update
#slackpkg upgrade-all
Thanks. That is what I was looking for. All I could find in the Book was update name_of_package. Of course, it is entirely possible that I looked over it without seeing it.

Last edited by Randicus Draco Albus; 01-11-2014 at 01:21 AM.
 
Old 01-11-2014, 04:23 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,290
Blog Entries: 61

Rep: Reputation: Disabled
Run:
Code:
slackpkg update gpg
before the other commands.
 
Old 01-11-2014, 04:41 AM   #5
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Quote:
Originally Posted by brianL View Post
Run:
Code:
slackpkg update gpg
before the other commands.
Perhaps this answers my question here.
 
Old 01-11-2014, 04:48 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,290
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by aaditya View Post
Perhaps this answers my question here.
Don't think so, seems like a different problem. I forgot the "update gpg" once (my brain was on standby, as it often is ), and I got an error message but not like yours.
 
Old 01-11-2014, 04:56 AM   #7
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Quote:
Originally Posted by brianL View Post
Don't think so, seems like a different problem. I forgot the "update gpg" once (my brain was on standby, as it often is ), and I got an error message but not like yours.
Ah, yes, perhaps you are right.

Code:
man slackpkg
Quote:
Originally Posted by slackpkg
If you need to update Slackware's GPG key, run

# slackpkg update gpg

The GPG key doesn't change. This should be a "one time" command - run it once and forget it...
 
Old 01-11-2014, 01:17 PM   #8
fietser
Member
 
Registered: Feb 2006
Location: Nederland
Distribution: slackware
Posts: 47

Rep: Reputation: 7
http://docs.slackware.com/slackware:slackpkg

Have fun.
 
Old 01-11-2014, 02:05 PM   #9
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
On occasion Slackware releases new programs (very rarely), but it does happen. I run these commands in order after running # slackpkg update gpg.

# slackpkg update

# slackpkg install-new

# slackpkg upgrade-all

If you're upgrading to a new version of Slackware or once in a blue moon I will run

# slackpkg clean-system and see if there are any obsolete applications on my system.
 
Old 01-11-2014, 03:11 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
If not already done, the first thing to do is subscribe to the slackware-security mailing list, see the Mailing List Info.

When you receive a security advisory, either use slackpkg as others told you, or use links provided in the mail you'll receive to download the new packages and upgrade manually running the command upgradepkg.

Mailing list archives are available.

Last edited by Didier Spaier; 01-11-2014 at 03:13 PM.
 
Old 01-11-2014, 09:20 PM   #11
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711

Original Poster
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Thanks for the answers.
Right now I am "testing" Slackware in a dual-boot set-up with Debian. I was/am not expecting numerous updates, since Slack is a stable distribution. My concern is; if I can figure out the package management system I shall be using Openbox. At that point I would want to install updates, whenever they come along, with the terminal, since there will not be one of those update widget thingies. I was sure there is an easy procedure for doing it, but it was not easy to find documentation. That is, until I checked man slackpkg. Although I probably still would have needed to ask for clarification. (I am not very bright when it comes to computers.) It is probably safe to mark the thread as solved.

Who knows. Maybe someday distribution in my profile will list Debian and Slackware.
 
1 members found this post helpful.
Old 01-11-2014, 09:52 PM   #12
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Debian is an awesome distro.
If Slackware did not exist I would run Debian.
 
Old 01-11-2014, 10:41 PM   #13
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711

Original Poster
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
Originally Posted by hitest View Post
If Slackware did not exist I would run Debian.
I have often seen Debian users post the reverse also.
 
  


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
[SOLVED] How do I get the updates and security updates wenall Debian 3 07-10-2011 04:17 PM
How to install _only_ security updates with apt-get? Lotharster Linux - Newbie 4 05-10-2006 11:21 AM
Easy Install AND Security Updates pmconway Linux - Networking 3 10-04-2004 11:21 AM
New install Suse 9.1 won't boot after security updates lmonroe Linux - General 11 08-11-2004 03:37 AM
Install security updates? trey85stang Slackware 1 05-03-2004 11:39 AM

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

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