unattended-upgrade(8)

πŸŽ€ unattended-upgrade(8) πŸŽ€

System Manager's Manual πŸ’…

✨ NAME ✨

okay so unattended-upgrade is the tool for automatic installation of security (and other) upgrades πŸ”₯ no babysitting required bestie

πŸ’– SYNOPSIS πŸ’–

unattended-upgrade [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this program can download and install security upgrades automatically and unattended 🫢 it's giving responsible. It only installs packages from the configured APT source (no sketchy strangers πŸ™ˆ) and it checks for dpkg prompts about configuration file changes so it doesn't just freeze on you πŸ’€

All operations get logged to /var/log/unattended-upgrades/unattended-upgrades.log πŸ“ and the package manager (dpkg) output gets logged to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log ✨ receipts, bestie.

This script is the backend for the APT::Periodic::Unattended-Upgrade option πŸ‘‘ It's designed to be run periodically by APT's systemd service (apt-daily-upgrade.service) or from cron (e.g. via /etc/cron.daily/apt) 🌸 main character energy, running on schedule.

🌈 OPTIONS 🌈

unattended-upgrade accepts the following options, obsessed with all of them tbh:

  • -h, --help β€” help output, the OG cheat sheet πŸ“–
  • -d, --debug β€” extra debug output into /var/log/unattended-upgrades/unattended-upgrades.log πŸ” for when you need the tea β˜•
  • --apt-debug β€” detailed APT/LibAPT output for debugging 🧠 the deep dive
  • -v, --verbose β€” show verbose output πŸ—£οΈ chatty mode activated
  • --dry-run β€” just simulate installing updates, do not actually do it πŸ™ˆ it's a rehearsal, not the show
  • --minimal-upgrade-steps β€” perform upgrade in minimal steps (cancel with SIGINT) πŸ“ this is the default now, so you're already slaying. Cancel with SIGINT if you need to bail
  • --no-minimal-upgrade-steps β€” do not perform upgrade in minimal steps 🚫 opting out of the minimal vibe

🧚 CONFIGURATION 🧚

The configuration is done via the apt configuration mechanism πŸ’œ The default configuration file lives at /etc/apt/apt.conf.d/50unattended-upgrades ✨ go check it out, it's iconic.

πŸ‘‘ AUTHORS πŸ‘‘

unattended-upgrade is written by Michael Vogt <mvo@ubuntu.com> 🫢 legend behavior.

This manual page was originally written by Michael Vogt <mvo@ubuntu.com> πŸ“œ the OG writer, no cap.

Copyright (C) 2005-2009 Canonical πŸ’…

There is NO warranty. You may redistribute this software under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING πŸ“„ read the fine print, it matters, bestie.


Dated March 1, 2019, for unattended-upgrade(8), signed with love πŸ’–πŸ¦‹πŸŽ€