{"id":2647,"date":"2026-07-30T12:30:00","date_gmt":"2026-07-30T17:30:00","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=2647"},"modified":"2026-06-27T08:52:32","modified_gmt":"2026-06-27T13:52:32","slug":"enable-automatic-security-updates-on-ubuntu-26-04","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/","title":{"rendered":"How to Enable Automatic Security Updates and Unattended Upgrades on Ubuntu 26.04"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Maintaining the security and stability of a server isn&#8217;t just about configuring a firewall or choosing a strong password. One simple yet crucial step is ensuring the system is regularly updated. This is where the auto-update feature plays a crucial role, especially for Linux VPS users using public servers or backend services. In this blog, we&#8217;ll be looking into how to enable automatic security updates on Ubuntu 26.04.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">The Linux operating system is known for its reliability, but it isn&#8217;t immune to security vulnerabilities. Whenever developers discover a vulnerability in the system, they release a security patch that must be applied immediately. If a VPS isn&#8217;t regularly updated, attackers can exploit these vulnerabilities.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The problem is, many VPS users forget or delay the update process, citing busy schedules, fear of server downtime, or simply not knowing how. As a result, the server continues to run with old, vulnerable packages and kernels. A practical solution is to enable auto-updates, which run in the background.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\" target=\"_blank\" rel=\"noreferrer noopener\">Ubuntu 26.04 VPS<\/a><\/li>\n\n\n\n<li>SSH root access, or a user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Conventions<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># \u2013 given commands should be executed with root privileges either directly as a root user or by use of sudo command\n$ \u2013 given commands should be executed as a regular user<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">What Are Auto-Updates in Linux?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Auto-updates is a feature that allows the Linux operating system, not just Ubuntu, to automatically update critical packages without manual intervention. This feature generally updates only security-related packages, thereby avoiding system instability.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each Linux distribution has a different way to enable automatic updates. For example, on Ubuntu and Debian, users can use a package called unattended-upgrades. Meanwhile, on CentOS or AlmaLinux, tools like dnf-automatic or yum-cron are available.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits of Enabling Automatic Updates<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are some benefits of enabling automatic updates:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Guaranteed Security\nThe server will automatically receive the latest security patches.\nMinimal Manual Intervention\nSuitable for users who don't have time to monitor daily updates.\nReduced Risk of Exploitation\nAvoid exploiting common vulnerabilities that bots can exploit.\nReduced Downtime Costs\nA successful attack can cause financial losses. Automatic updates help prevent this from happening in the first place.\nHowever, it's important not to enable all types of updates indiscriminately. Some non-security updates can cause dependency conflicts or unwanted service restarts.<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How to Set Up Auto Updates on Ubuntu<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Automatic updates and unattended upgrades on Ubuntu 26.04 are handled by the unattended-upgrades package. The unattended-upgrades package is usually preinstalled on Ubuntu systems. However, it may not be installed by default. We can check it first using the command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ dpkg -l unattended-upgrades<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The command will print an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>+-- Desired=Unknown\/Install\/Remove\/Purge\/Hold\n|+- Status=Not\/Inst\/Conf-files\/Unpacked\/halF-conf\/Half-inst\/trig-aWait\/Trig-pend\n||+ Err?=(none)\/Reinst-required (Status,Err: uppercase=bad)\n||| Name                Version      Architecture Description\n+++-===================-============-============-===========================================\nii  unattended-upgrades 2.12ubuntu9  all          automatic installation of security upgrades<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you do not see a similar output, you need to install it. Execute this command to install it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt install unattended-upgrades<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it; the automatic update package should be installed now.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enable Automatic Updates.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now, we can run the command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo dpkg-reconfigure --priority=low unattended-upgrades<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You will be prompted with the interactive reconfiguration tool to enable the automatic update. The command will print an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>debconf: unable to initialize frontend: Dialog\ndebconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at \/usr\/share\/perl5\/Debconf\/FrontEnd\/Dialog.pm line 79.)\ndebconf: falling back to frontend: Readline\nConfiguring unattended-upgrades\n-------------------------------\n\nApplying updates on a frequent basis is an important part of keeping systems secure. By default, updates need to be applied manually using package management tools. \nAlternatively, you can choose to have this system automatically download and install important updates.\n\nAutomatically download and install stable updates? &#91;yes\/no] <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Simply type &#8216;yes&#8217; then hit ENTER. The command creates the file \/etc\/apt\/apt.conf.d\/20auto-upgrades with the following content:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>APT::Periodic::Update-Package-Lists \"1\";\nAPT::Periodic::Unattended-Upgrade \"1\";<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Each value represents the interval in days. Setting &#8220;1&#8221; runs the action every day; &#8220;7&#8221; runs it every week; and &#8220;0&#8221; disables the action. Let&#8217;s run the command below to check the status.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo systemctl status unattended-upgrades<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should see something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u25cf unattended-upgrades.service - Unattended Upgrades Shutdown\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/unattended-upgrades.service; enabled; preset: enabled)\n     Active: active (running) since Sun 2026-05-17 14:08:08 UTC; 5m ago\n Invocation: 0e9afedec7d04a64962b700faecce50c\n       Docs: man:unattended-upgrade(8)\n   Main PID: 1028337 (unattended-upgr)\n      Tasks: 2 (limit: 1605)\n     Memory: 15M (peak: 15M)\n        CPU: 159ms\n     CGroup: \/system.slice\/unattended-upgrades.service\n             \u2514\u25001028337 \/usr\/bin\/python3 \/usr\/share\/unattended-upgrades\/unattended-upgrade-shutdown --wait-for-signal\n\nMay 17 14:08:08 ubuntu26 systemd&#91;1]: Started unattended-upgrades.service - Unattended Upgrades Shutdown.\nMay 17 14:08:08 ubuntu26 unattended-upgrade-shutdown&#91;1028337]: \/usr\/share\/unattended-upgrades\/unattended-upgrade-shutdown:250: PyGIDeprecationWarning: GLib.unix_signa&gt;\nMay 17 14:08:08 ubuntu26 unattended-upgrade-shutdown&#91;1028337]:   GLib.unix_signal_add(GLib.PRIORITY_DEFAULT, sig,<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In Ubuntu 26.04, the automatic update system is based on two systemd timers, replacing the older cron-based system. The apt-daily.timer is used to download the package lists and new packages, while the apt-daily-upgrade.timer manages the installation itself. These timers incorporate randomized delays to ensure that not all machines access the repositories simultaneously.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Things to Note:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Ensure updates only come from trusted repositories.\nCreate regular backups before major updates.\nAvoid automatic reboots unless absolutely necessary.\nMonitor the automatic update log to detect any errors.<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Verify Automatic Security Updates<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After configuring unattended-upgrades, it is time to verify that everything works as expected before relying on it for production security by running a dry run. A dry run is a test that simulates the upgrade process without actually installing anything. Let&#8217;s execute the command below to do a dry run.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo unattended-upgrades --dry-run <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The command will not show you anything if everything is okay. You can add the &#8216;debug&#8217; option to the command to see detailed messages.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo unattended-upgrades --dry-run --debug<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">When using the debug option, you will see a verbose output showing which packages would be upgraded, which origins are allowed, and any configuration errors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The unattended-upgrades daemon logs its activity to the \/var\/log\/unattended-upgrades\/ directory. Let&#8217;s check the log:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo tail -f \/var\/log\/unattended-upgrades\/unattended-upgrades.log<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Additionally, check the dpkg log for details about which packages were actually installed:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo tail -f \/var\/log\/unattended-upgrades\/unattended-upgrades-dpkg.log<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Trigger a manual run: To force an immediate update cycle (useful for testing), run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo unattended-upgrades --verbose<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The command above will run the actual upgrade and display its progress. If there is no package that can be upgraded, you will see a similar message:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>No packages found that can be upgraded unattended and no pending auto-removals<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We recommend that Ubuntu users enable automatic updates only for security patches to avoid service conflicts. If using a panel like Webmin or cPanel, check if there&#8217;s a built-in automatic update option that can be configured from the dashboard. Use monitoring tools like Logwatch or integration with Telegram\/Email for daily update notifications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enabling automatic updates doesn&#8217;t mean your server can be left unattended. However, it&#8217;s a crucial step in reducing security risks and maintaining long-term server stability. With the right configuration, automatic updates can be a constant guard for your system without requiring daily admin presence.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping Everything Up<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulations! You have learned how to enable automatic security updates and unattended upgrades on Ubuntu 26.04. If you&#8217;re still not sure how to handle these updates yourself, you can look for a <a href=\"https:\/\/linuxhostsupport.com\/per-incident-support.html\" target=\"_blank\" rel=\"noreferrer noopener\">reputable Lin<\/a>ux MSP to handle them for you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you liked this post on how to enable automatic security updates and unattended upgrades on Ubuntu 26.04, please share it with your friends or leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maintaining the security and stability of a server isn&#8217;t just about configuring a firewall or choosing a strong password. One simple yet crucial step is ensuring the system is regularly updated. This is where the auto-update feature plays a crucial role, especially for Linux VPS users using public servers or backend services. In this blog, &#8230; <a title=\"How to Enable Automatic Security Updates and Unattended Upgrades on Ubuntu 26.04\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/\" aria-label=\"More on How to Enable Automatic Security Updates and Unattended Upgrades on Ubuntu 26.04\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":2667,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[208],"tags":[382,118,225,369,381],"class_list":["post-2647","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-enable-automatic-updates","tag-how-to","tag-security","tag-ubuntu-26-04","tag-updates"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Enable Automatic Security Updates on Ubuntu 26.04<\/title>\n<meta name=\"description\" content=\"Learn how to enable automatic security updates and unattended upgrades on Ubuntu 26.04 using out latest guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Enable Automatic Security Updates on Ubuntu 26.04\" \/>\n<meta property=\"og:description\" content=\"Learn how to enable automatic security updates and unattended upgrades on Ubuntu 26.04 using out latest guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-30T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2026\/07\/how-to-enable-automatic-security-updates-and-unattended-upgrades-on-ubuntu-26.04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Enable Automatic Security Updates and Unattended Upgrades on Ubuntu 26.04\",\"datePublished\":\"2026-07-30T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/\"},\"wordCount\":854,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/how-to-enable-automatic-security-updates-and-unattended-upgrades-on-ubuntu-26.04.webp\",\"keywords\":[\"enable automatic updates\",\"how to\",\"security\",\"ubuntu 26.04\",\"updates\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/\",\"name\":\"How to Enable Automatic Security Updates on Ubuntu 26.04\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/how-to-enable-automatic-security-updates-and-unattended-upgrades-on-ubuntu-26.04.webp\",\"datePublished\":\"2026-07-30T17:30:00+00:00\",\"description\":\"Learn how to enable automatic security updates and unattended upgrades on Ubuntu 26.04 using out latest guide.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/how-to-enable-automatic-security-updates-and-unattended-upgrades-on-ubuntu-26.04.webp\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/how-to-enable-automatic-security-updates-and-unattended-upgrades-on-ubuntu-26.04.webp\",\"width\":742,\"height\":410,\"caption\":\"How to Enable Automatic Security Updates and Unattended Upgrades on Ubuntu 26.04 (updated 2026 version)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/enable-automatic-security-updates-on-ubuntu-26-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable Automatic Security Updates and Unattended Upgrades on Ubuntu 26.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Enable Automatic Security Updates on Ubuntu 26.04","description":"Learn how to enable automatic security updates and unattended upgrades on Ubuntu 26.04 using out latest guide.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Enable Automatic Security Updates on Ubuntu 26.04","og_description":"Learn how to enable automatic security updates and unattended upgrades on Ubuntu 26.04 using out latest guide.","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2026-07-30T17:30:00+00:00","og_image":[{"width":742,"height":410,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2026\/07\/how-to-enable-automatic-security-updates-and-unattended-upgrades-on-ubuntu-26.04.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Enable Automatic Security Updates and Unattended Upgrades on Ubuntu 26.04","datePublished":"2026-07-30T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/"},"wordCount":854,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2026\/07\/how-to-enable-automatic-security-updates-and-unattended-upgrades-on-ubuntu-26.04.webp","keywords":["enable automatic updates","how to","security","ubuntu 26.04","updates"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/","name":"How to Enable Automatic Security Updates on Ubuntu 26.04","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2026\/07\/how-to-enable-automatic-security-updates-and-unattended-upgrades-on-ubuntu-26.04.webp","datePublished":"2026-07-30T17:30:00+00:00","description":"Learn how to enable automatic security updates and unattended upgrades on Ubuntu 26.04 using out latest guide.","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2026\/07\/how-to-enable-automatic-security-updates-and-unattended-upgrades-on-ubuntu-26.04.webp","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2026\/07\/how-to-enable-automatic-security-updates-and-unattended-upgrades-on-ubuntu-26.04.webp","width":742,"height":410,"caption":"How to Enable Automatic Security Updates and Unattended Upgrades on Ubuntu 26.04 (updated 2026 version)"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/enable-automatic-security-updates-on-ubuntu-26-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Enable Automatic Security Updates and Unattended Upgrades on Ubuntu 26.04"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=2647"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2647\/revisions"}],"predecessor-version":[{"id":2664,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2647\/revisions\/2664"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/2667"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=2647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=2647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=2647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}