Go to file
2025-03-25 12:30:08 +01:00
configure-updates logic changes and cron changes 2025-03-25 12:30:08 +01:00
LICENSE initial commit 2024-10-24 12:40:05 +02:00
README.md logic changes and cron changes 2025-03-25 12:30:08 +01:00

Unattended update script for Ubuntu 22.04 and 24.04 server.

Prerequisites

Ubuntu 22.04 or higher server.

Important

This will configure unattended updates with the following.
Update packages
Update security packages
Remove unused depencies same as apt autoremove
Reboot if needed even with users logged on
Create a crontab entry to run updates every Saturday at 04:00

Download the script

git clone https://git.x-files.dk/ubuntu-server/unattended-updates.git

Usage

cd unattended-updates
sudo ./configure-updates

Postinstall

Nothing to do.

More guides can be found on [wiki.x-files.dk]

Last tested

November 8th 2024 on Ubuntu 24.04.