{
    "mode": "man",
    "parameter": "unattended-upgrade",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/unattended-upgrade/8/json",
    "generated": "2026-06-16T10:13:18Z",
    "synopsis": "unattended-upgrade [options]",
    "sections": {
        "NAME": {
            "content": "unattended-upgrade - automatic installation of security (and other) upgrades\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "unattended-upgrade [options]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This  program can download and install security upgrades automatically and unattended, taking\ncare to only install packages from the configured APT source, and checking for  dpkg  prompts\nabout  configuration  file  changes.  All  operations  are  logged to /var/log/unattended-up‐\ngrades/unattended-upgrades.log  and  the  package  manager  (dpkg)  output   is   logged   to\n/var/log/unattended-upgrades/unattended-upgrades-dpkg.log\n\nThis  script  is the backend for the APT::Periodic::Unattended-Upgrade option and designed to\nbe run periodically by APT's systemd service (apt-daily-upgrade.service) or from  cron  (e.g.\nvia /etc/cron.daily/apt).\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "unattended-upgrade accepts the following options:\n",
            "subsections": [
                {
                    "name": "-h --help",
                    "content": "help output\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-d --debug",
                    "content": "extra debug output into /var/log/unattended-upgrades/unattended-upgrades.log\n",
                    "flag": "-d",
                    "long": "--debug"
                },
                {
                    "name": "--apt-debug",
                    "content": "detailed APT/LibAPT output for debugging\n",
                    "long": "--apt-debug"
                },
                {
                    "name": "-v --verbose",
                    "content": "show verbose output\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "--dry-run",
                    "content": "Just simulate installing updates, do not actually do it\n",
                    "long": "--dry-run"
                },
                {
                    "name": "--minimal-upgrade-steps",
                    "content": "perform upgrade in minimal steps (cancel with SIGINT). This is the default now.\n",
                    "long": "--minimal-upgrade-steps"
                },
                {
                    "name": "--no-minimal-upgrade-steps",
                    "content": "do not perform upgrade in minimal steps\n\n",
                    "long": "--no-minimal-upgrade-steps"
                }
            ]
        },
        "CONFIGURATION": {
            "content": "The configuration is done via the apt configuration mechanism. The default configuration file\ncan be found at /etc/apt/apt.conf.d/50unattended-upgrades\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "unattended-upgrade is written by Michael Vogt <mvo@ubuntu.com>\n\nThis manual page was originally written by Michael Vogt <mvo@ubuntu.com>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright  (C)  2005-2009 Canonical\n\nThere is NO warranty.  You may redistribute this software under the terms of  the   GNU  Gen‐\neral  Public License.  For more information about these matters, see the files named COPYING.\n\n\n\nMarch 1, 2019                      unattended-upgrade(8)",
            "subsections": []
        }
    },
    "summary": "unattended-upgrade - automatic installation of security (and other) upgrades",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "help output"
        },
        {
            "flag": "-d",
            "long": "--debug",
            "arg": null,
            "description": "extra debug output into /var/log/unattended-upgrades/unattended-upgrades.log"
        },
        {
            "flag": "",
            "long": "--apt-debug",
            "arg": null,
            "description": "detailed APT/LibAPT output for debugging"
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "show verbose output"
        },
        {
            "flag": "",
            "long": "--dry-run",
            "arg": null,
            "description": "Just simulate installing updates, do not actually do it"
        },
        {
            "flag": "",
            "long": "--minimal-upgrade-steps",
            "arg": null,
            "description": "perform upgrade in minimal steps (cancel with SIGINT). This is the default now."
        },
        {
            "flag": "",
            "long": "--no-minimal-upgrade-steps",
            "arg": null,
            "description": "do not perform upgrade in minimal steps"
        }
    ],
    "examples": [],
    "see_also": []
}