LinuxQuestions.org
Visit Jeremy's Blog.
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-25-2017, 03:55 AM   #1
apmount
Member
 
Registered: Mar 2009
Location: Athens
Distribution: Slackware
Posts: 69

Rep: Reputation: 2
Cumulative patches update


Hello, does it exist in Slackware (or linux in general) the concept of a cumulative service? Especially for the security patches. I mean, in the z world we have the cumulative service we do about every 3 or 6 months with all the fixes (plus their prerequisites) that have been released in the meantime. We do not just apply a single fix (or a group of them) at the time it is released (unless it is a hyper one, meaning a must apply one). Does this also apply to the Slackware?

Regards, Apostolos

Last edited by apmount; 05-25-2017 at 04:02 AM.
 
Old 05-25-2017, 04:02 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,982

Rep: Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234
I don't think we do have them in Slackware. Updates are delivered per application as needed.
 
Old 05-25-2017, 05:58 AM   #3
dejank
Member
 
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229

Rep: Reputation: Disabled
Nor in linux in general. But you do have kind of that service, in term of point releases in some distribution. Like debian 8.7 to 8.8. Though, in most distributions, including Slackware, there is no need for that kind of thing. You just update regularly, like once per week, and you are good to go. Some distributions do supply you with tools to automate updates and upgrades, if you just feel lazy to do it yourself. As far as I can remember, there are no such tools in Slack, though you could get some bash script in combination with cron job to do it.

Anyway, cumulative service is kind of silly thing in Linux world, in my opinion. If you are on stable version, most updates/upgrades are security based, so it is best to apply them as they come.
 
Old 05-25-2017, 06:45 AM   #4
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
If you run 'slackpkg update' today on unpatched Slackware 14.2, you will get (for example) mozilla-firefox upgraded directly
from mozilla-firefox-45.2.0esr-x86_64-1.txz
to mozilla-firefox-52.1.2esr-x86_64-1_slack14.2.txz

There is no need for any of the intermediate versions of mozilla-firefox that existed last year or early this year.
 
Old 05-25-2017, 06:48 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,078

Rep: Reputation: 3741Reputation: 3741Reputation: 3741Reputation: 3741Reputation: 3741Reputation: 3741Reputation: 3741Reputation: 3741Reputation: 3741Reputation: 3741Reputation: 3741
As others have stated, patches aren't cumulative. In actuality, Slackware patches aren't really "patches", but instead are newer packages to replace the older one. Because of this, when a "patch" is installed, the old package is completely removed (except for config files) and the new one is installed. So, there is no need to install each "patch", because the latest "patch" should be the latest version of the package that the distribution maintainer (Patrick Volkerding, in Slackware's case) has made available.

@dejank, Slackware does include slackpkg, which can check your selected mirror for updates to Slackware and can optionally download and install/upgrade them. It doesn't include anything to automate this, but you could add commands in your cron to automate it (although, I generally don't recommend automating things like that as you should be checking the ChangeLog before you upgrade to see if there's any "gotchas".
 
Old 05-25-2017, 07:24 AM   #6
dejank
Member
 
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
As others have stated, patches aren't cumulative. In actuality, Slackware patches aren't really "patches", but instead are newer packages to replace the older one. Because of this, when a "patch" is installed, the old package is completely removed (except for config files) and the new one is installed. So, there is no need to install each "patch", because the latest "patch" should be the latest version of the package that the distribution maintainer (Patrick Volkerding, in Slackware's case) has made available.

@dejank, Slackware does include slackpkg, which can check your selected mirror for updates to Slackware and can optionally download and install/upgrade them. It doesn't include anything to automate this, but you could add commands in your cron to automate it (although, I generally don't recommend automating things like that as you should be checking the ChangeLog before you upgrade to see if there's any "gotchas".
I know, was happy Slack user for some time I was just explaining what you've said, that it does not have automated tools/scripts ready, like for example unattended-upgrades on debian and debian based distros and that someone could create bash script to do it via cron. But yes, I would not do it, though it is because I like to have more control over what is updated/upgraded.
 
Old 05-25-2017, 08:08 AM   #7
jarane
LQ Newbie
 
Registered: Feb 2017
Distribution: Arch
Posts: 6
Blog Entries: 1

Rep: Reputation: Disabled
You shouldn't cron slackpkg, by checking it monthly you can make a sort of cumulative upgrade. The philosophy is to sign up to the newsletter and get notified on the important security patches. As @dejank said the point is to know/follow up the packages you're upgrading.
 
Old 05-25-2017, 08:53 AM   #8
apmount
Member
 
Registered: Mar 2009
Location: Athens
Distribution: Slackware
Posts: 69

Original Poster
Rep: Reputation: 2
Thank you all for the valuable comments and advises.

Regards, Apostolos.
 
  


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
Patches update sekar2488 Linux - Newbie 5 04-30-2015 03:49 PM
Patches Update madisonle Linux - Software 11 10-23-2012 08:08 AM
Are workqueues cumulative? greplinux Linux - Newbie 3 04-15-2008 08:27 PM
Use rsync to update patches JosephS Slackware 9 01-13-2008 03:54 PM
How to Update Slack Patches? Lucinda Slackware 6 05-15-2005 08:44 AM

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

All times are GMT -5. The time now is 07:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration