Files
public-setupfiles/updates_scripts/updates.sh
T
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

11 lines
257 B
Bash
Executable File

#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
sudo "$DIR/fix_apt_influx.sh"
sudo apt update
sudo apt upgrade -y
sudo apt full-upgrade -y
sudo apt autoremove -y
sudo apt clean -y
sudo apt purge -y
echo "System update and cleanup complete!"