Files
public-setupfiles/updates_scripts
Jarvis 1e6b35f078 fix: make updates.sh path-independent and fix InfluxData keyring usage
- updates.sh: use BASH_SOURCE to find script dir, so fix_apt_influx.sh
  can be called from anywhere (was failing with 'command not found' when
  run from outside the updates_scripts directory)
- fix_apt_influx.sh: if key download fails but keyring already exists on
  disk, reuse it with [signed-by=] instead of falling back to
  [trusted=yes] which disables signature verification entirely
- Fixes: Missing key AC10D7449F343ADCEFDDC2B6DA61C26A0585BD3B error
  on Trixie when running updates.sh
2026-09-19 16:48:13 -05:00
..
2026-09-04 13:48:56 -05:00
2026-09-04 13:48:56 -05:00

updates_scripts

Overview

Automated system update scripts for various platforms and use cases.


Scripts

File Description Platform
updates.sh Standard update script Linux
updates.py Python version of updates.sh Linux
kali-updates.sh Kali Linux rolling update with tool selection Kali/Debian
docker-run-netdata-install.sh Install Netdata in Docker Docker host
fix_apt_influx.sh Repair InfluxDB APT repository Debian
dist-upgrade.sh Debian distro upgrade wrapper Debian

Standard Updates

updates.sh

sudo ./updates.sh

Commands:

apt update
apt upgrade -y
apt full-upgrade -y
apt autoremove -y
apt clean -y
apt purge -y

Kali Updates

kali-updates.sh

sudo ./kali-updates.sh

Features:

  • Updates Kali rolling release
  • Interactive tool selection
  • Optional Kali Purple installation

Docker Netdata

docker-run-netdata-install.sh

sudo ./docker-stuff/docker_run-netdata-install.sh

Creates a Netdata container for host metrics monitoring.


InfluxDB Fix

fix_apt_influx.sh

sudo ./updates_scripts/fix_apt_influx.sh

Fixes:

  • InfluxDB repo key verification
  • Sury PHP repo setup
  • Stale APT metadata cleanup

Dist Upgrade

dist-upgrade.sh

Interactive tool for moving to newer Debian releases.

sudo ./debian-dist-upgrades/dist-upgrade.sh

See debian-dist-upgrades/ for details.


  • setup_cron_clean.sh (repo root) — Schedules these scripts
  • updates_clean.sh (repo root) — Hardened cron version