LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-26-2024, 01:11 PM   #1
SlackCoder
Member
 
Registered: Nov 2020
Posts: 40

Rep: Reputation: Disabled
Tool to help with automatic updates


Here is some tooling to help those interested in automatically updating their system.

The tooling is in bash and is intended to be simple enough to customize to your preferences. The vanilla setup uses a cron script to pull updates from Slackware and slackbuilds.org (using sbotools), and uses a rc-script to install the updates on boot. Information on pending updates and errors are provided via text files under /var/spool/slack-autoupdate. More advanced users could use cron's integration with email to notify themselves that way.

The current implementation does not support slackware-current. For more information refer to the project's README.

https://git.server.ky/slackcoder/sla...oupdate/about/

Last edited by SlackCoder; 03-28-2024 at 05:47 AM.
 
Old 03-28-2024, 02:16 AM   #2
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 323

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I get an error trying to access your link:

Code:
                                                                                                                                                                                        ➜  ~ curl -v https://git.server.ky/slackcoder/slack-autoupdate/about/
* Host git.server.ky:443 was resolved.
* IPv6: 2600:3c0d:e002:800::3
* IPv4: 64.94.63.8
*   Trying 64.94.63.8:443...
* Connected to git.server.ky (64.94.63.8) port 443
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: none
*  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS alert, record overflow (534):
* OpenSSL/3.2.1: error:0A0000C6:SSL routines::packet length too long
* Closing connection
curl: (35) OpenSSL/3.2.1: error:0A0000C6:SSL routines::packet length too long
EDIT: seems like the web server it's listening in http (instead of https) on port 443
http://git.server.ky:443/slackcoder/...oupdate/about/ works

Last edited by ctrlaltca; 03-28-2024 at 02:19 AM.
 
1 members found this post helpful.
Old 03-28-2024, 05:50 AM   #3
SlackCoder
Member
 
Registered: Nov 2020
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ctrlaltca View Post
I get an error trying to access your link:

Code:
                                                                                                                                                                                        ➜  ~ curl -v https://git.server.ky/slackcoder/slack-autoupdate/about/
* Host git.server.ky:443 was resolved.
* IPv6: 2600:3c0d:e002:800::3
* IPv4: 64.94.63.8
*   Trying 64.94.63.8:443...
* Connected to git.server.ky (64.94.63.8) port 443
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: none
*  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS alert, record overflow (534):
* OpenSSL/3.2.1: error:0A0000C6:SSL routines::packet length too long
* Closing connection
curl: (35) OpenSSL/3.2.1: error:0A0000C6:SSL routines::packet length too long
EDIT: seems like the web server it's listening in http (instead of https) on port 443
http://git.server.ky:443/slackcoder/...oupdate/about/ works
Fixed, thanks for the notice
 
Old 04-05-2024, 09:32 AM   #4
SlackCoder
Member
 
Registered: Nov 2020
Posts: 40

Original Poster
Rep: Reputation: Disabled
Documentation about how to add your own package source was added with an example for how to keep your kernel updated with Slackware Current while using the 15.0 release.

If there is any tooling you want supported, or issues prioritized, please reach out on this thread.

Last edited by SlackCoder; 04-05-2024 at 09:55 AM.
 
  


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
LXer: Set Up Automatic Update Installation Using DNF-Automatic Timer Unit LXer Syndicated Linux News 0 04-25-2022 07:54 PM
Trouble with the automatic updates (duplicate versions of various programs) Luythen Red Hat 1 10-05-2004 06:38 AM
Automatic Updates of packages jonty_11 Programming 3 09-29-2004 05:11 PM
automatic updates sirjosi Linux - Newbie 2 01-13-2004 03:58 PM
Automatic Updates! tolis Red Hat 3 12-14-2003 01:02 AM

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

All times are GMT -5. The time now is 12:12 PM.

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