Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-11-2014, 12:53 AM
|
#1
|
Senior Member
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
|
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/
|
|
|
01-11-2014, 01:37 AM
|
#2
|
Member
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583
|
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.
|
01-11-2014, 02:20 AM
|
#3
|
Senior Member
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Original Poster
|
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 02:21 AM.
|
|
|
01-11-2014, 05:23 AM
|
#4
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
Run:
Code:
slackpkg update gpg
before the other commands.
|
|
|
01-11-2014, 05:41 AM
|
#5
|
Member
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Rep:
|
Quote:
Originally Posted by brianL
Run:
Code:
slackpkg update gpg
before the other commands.
|
Perhaps this answers my question here. 
|
|
|
01-11-2014, 05:48 AM
|
#6
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
Quote:
Originally Posted by aaditya
|
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.
|
|
|
01-11-2014, 05:56 AM
|
#7
|
Member
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Rep:
|
Quote:
Originally Posted by brianL
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.
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...
|
|
|
|
01-11-2014, 02:17 PM
|
#8
|
Member
Registered: Feb 2006
Location: Nederland
Distribution: slackware
Posts: 47
Rep:
|
|
|
|
01-11-2014, 03:05 PM
|
#9
|
Guru
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian, Ubuntu
Posts: 7,445
|
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.
|
|
|
01-11-2014, 04:11 PM
|
#10
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,302
Rep: 
|
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 04:13 PM.
|
|
|
01-11-2014, 10:20 PM
|
#11
|
Senior Member
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Original Poster
|
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.
|
01-11-2014, 10:52 PM
|
#12
|
Guru
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian, Ubuntu
Posts: 7,445
|
Debian is an awesome distro. 
If Slackware did not exist I would run Debian.
|
|
|
01-11-2014, 11:41 PM
|
#13
|
Senior Member
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Original Poster
|
Quote:
Originally Posted by hitest
If Slackware did not exist I would run Debian.
|
I have often seen Debian users post the reverse also. 
|
|
|
All times are GMT -5. The time now is 11:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|