On Ubuntu Server 18 and newer, the unattended-upgrades package is installed by default. This package is used to automatically install all updates or just security updates in Ubuntu.
#dpkg -l | grep unattended-upgrades
It is thanks to this package that you may encounter this message when you shutdown/reboot Ubuntu:
Unattended-upgrade in progress during a shutdown, please don’t turn off the computer
Automatic update check and installation settings in Ubuntu/Debian are configured in /etc/cron.daily/apt. The file is run from /etc/crontab by default at 06:25. So, if something breaks down around this time, you know who is to blame.
To completely remove the unattended-upgrade package and all of its components:
$ sudo apt-get -y remove unattended-upgrades
$ sudo systemctl stop apt-daily.timer
$ sudo systemctl disable apt-daily.timer
$ sudo systemctl stop apt-daily-upgrade.timer
$ sudo systemctl disable apt-daily-upgrade.timer
$ sudo systemctl disable apt-daily.service
$ sudo systemctl daemon-reload
Or, you can disable automatic updates for Ubuntu in the file:
$ sudo vi /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Unattended-Upgrade "0";
APT::Periodic::Update-Package-List "0";
If you do decide to configure automatic updates in Ubuntu through automatic updates, use the command:
$ sudo dpkg-reconfigure unattended-upgrades
In the /etc/apt/apt.conf.d/50unattended-upgrades
file, you can specify which updates you want to install automatically:
Unattended-Upgrade::Allowed-Origins {
"Ubuntu precise-security";
// "Ubuntu precise-updates";
};
You can prevent the automatic update of certain packages:
Unattended-Upgrade::Package-Blacklist {
"vim";
"libc6";
"libc6-dev";
// "libc6-i686";
};
To enable automatic updates in apt settings, add the following options to the /etc/apt/apt.conf.d/20auto-upgrades
file:
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "7";
APT::Periodic::Unattended-Upgrade "1";
With these settings, the Ubuntu server will check for updates and install them daily.
The unattended-upgrades log is stored in the /var/log/unattended-upgrades
file.
Mu auto updates not disbales
Command For upgrating Ubanto
auto update disable
Почему автoобновление отключено?
Yes, that’s a good guide, it clearly explains how to set up Ubuntu’s unattended upgrades step-by-step. Really helpful for keeping your system secure while you take a break with a mobile game.
Yes, that’s a good guide, it clearly explains how to set up Ubuntu’s unattended upgrades step-by-step. Really helpful for keeping your system secure while you take a break with a mobile game.
This is a really helpful guide for anyone managing Ubuntu servers. I’ve had issues with automatic updates interrupting work before, so knowing how to control or disable unattended upgrades is great. On a different note, I recently tried the minecraft apk download latest version 2025 in my free time, and the new updates in the game are pretty awesome.
ShellShock io is a free, browser-based multiplayer tank battle game where you control a small tank in an arena and try to eliminate other players.
Thanks for sharing this helpful guide on unattended upgrades in Ubuntu, super useful for keeping systems secure without manual effort. I usually save such references in camscanner pro apk so I can access them easily later.
Thanks for sharing this helpful guide on unattended upgrades in Ubuntu, super useful for keeping systems secure without manual effort.
La Beca Rita Cetina está diseñada para motivar y apoyar a estudiantes yucatecos, brindando acceso a recursos educativos y oportunidades de crecimiento.
Halo para pecinta game, siapkah Anda untuk petualangan merakit apk Minecraft 1.21.110 APK yang telah diunduh dengan fitur-fiturnya yang luar biasa? Mari tunjukkan kreativitas Anda kepada dunia dengan pengalaman merakit. Dalam versi terbaru Minecraft APK ini, pemain mendapatkan kreativitas tanpa batas, dengan opsi kustomisasi tak terbatas, pegunungan yang menakjubkan, berbagai mode pemain, di MCPEDL, dan bioma yang menarik.
This is a great, concise guide on managing
unattended-upgrades
. I’ve been burned by theUnattended-upgrade in progress during a shutdown
message more times than I care to admit, usually when I’m trying to quickly reboot a test VM, so knowing how to explicitly disable or control the timings is super valuable. Do you recommend blacklisting kernel packages specifically, or just letting the auto-upgrade handle those and trusting the server will boot fine? Anyway, sometimes you just need a break from thinking about config files and cron jobs. If anyone needs a quick, nostalgic distraction to clear their head, you can learn more about getting back to some classic mobile gaming. Thanks for sharing the detailed steps!Fútbol Libre ofrece transmisiones gratuitas de partidos en vivo. Disfruta ligas internacionales, copas y torneos locales desde tu dispositivo, con señal estable, sin registros complicados y con una experiencia completa para fanáticos del fútbol.