Skip to content
Search

Unattended-upgrade

lastmod 2026-02-09created 2026-02-092 edits

unattended-upgrades is a service whose purpose is to automatically apply the latest security patches and other updates to an Ubuntu system and to keep the system maintained.

Installation

When you install Ubuntu, this service is installed and running by default. If it is not installed, install it as shown below. (For reference, it is a Python script)

$ sudo apt install unattended-upgrades -y

Status

The running daemon information is as follows.

$ sudo systemctl status unattended-upgrades

Output:

● unattended-upgrades.service - Unattended Upgrades Shutdown
     Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2022-04-28 14:26:19 KST; 3 days ago
       Docs: man:unattended-upgrade(8)
   Main PID: 681 (unattended-upgr)
      Tasks: 2 (limit: 9495)
     Memory: 14.5M
        CPU: 65ms
     CGroup: /system.slice/unattended-upgrades.service
             └─681 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal

Apr 28 14:26:19 u-node-1 systemd[1]: Started Unattended Upgrades Shutdown.

See also

Favorite site

author Zer0 sitemap