This commit is contained in:
rozbrian
2026-01-10 20:46:22 +09:00
commit 304cbcc554
66 changed files with 1291 additions and 0 deletions

22
apt_upgrade.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# This script will update and upgrade all packages automatically.
# Run as root or with sudo.
set -e
echo "=== Starting full system upgrade ==="
# Update the package lists
apt update -y
# Upgrade all packages without interaction
DEBIAN_FRONTEND=noninteractive apt -y upgrade
# Upgrade including kernel and dependencies
DEBIAN_FRONTEND=noninteractive apt -y dist-upgrade
# Remove unused packages
apt -y autoremove
apt -y autoclean
echo "=== Upgrade completed successfully ==="