LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Tool to help with automatic updates (https://www.linuxquestions.org/questions/slackware-14/tool-to-help-with-automatic-updates-4175735340/)

SlackCoder 03-26-2024 01:11 PM

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/

ctrlaltca 03-28-2024 02:16 AM

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

SlackCoder 03-28-2024 05:50 AM

Quote:

Originally Posted by ctrlaltca (Post 6492452)
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 :)

SlackCoder 04-05-2024 09:32 AM

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.


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