How to Enable unattended-upgrades in Ubuntu

In this article we will try to teach you how to Enable unattended-upgrades in Ubuntu. Linux server security is of vital importance to system administrators. A central part of the security of Linux servers is the timely installation of security updates. All too often there are compromised servers on the internet due to pending security updates waiting for a manual update. On Ubuntu and Debian, the unattended upgrade package can be configured to perform unattended upgrades to automatically install updated packages and security updates.

Update packages are essential for the data protection system as these packages have specific security patches. However, Ubuntuโ€™s feature called Unattended Upgrades automatically installs all the latest security-related updates. This feature is enabled by default in the latest Ubuntu versions. Because of this auto-update feature, users sometimes face different errors. Below we have mention the steps Enable unattended-upgrades in Ubuntu.

How to enable automatic updates on Ubuntu

First, you need to install unattended-upgrades:

$ sudo apt install unattended-upgrades

Then configure it:

$ sudo dpkg-reconfigure -plow unattended-upgrades

and select yes on the dialog.

Then, you need to enable automatic updates on a daily basis:

$ vim /etc/apt/apt.conf.d/10periodic

Finally, you may want to disable kernel updates that require a reboot:

$ sudo vim /etc/apt/apt.conf.d/50unattended-upgrades

Final Words

We hope our article on how to enable automatic updates on Ubuntu Linux will help you and resolve all your problems. Ubuntu is a Linux-based operating system. It is designed for computers, smartphones and network servers. The system is made by a UK based company called Canonical Ltd. developed. All the principles used to develop the Ubuntu software are based on the principles of open source software development. If you want to know how to enable unattended-upgrades in Ubuntu distros then follow the steps mentioned above.

I hope you understand this article, How to Enable unattended-upgrades in Ubuntu.

Editorial Staff
Editorial Staffhttps://www.bollyinside.com
The Bollyinside editorial staff is made up of tech experts with more than 10 years of experience Led by Sumit Chauhan. We started in 2014 and now Bollyinside is a leading tech resource, offering everything from product reviews and tech guides to marketing tips. Think of us as your go-to tech encyclopedia!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related Articles

Best Telemedicine Software: for your healthcare practice

Telemedicine software has transformed my healthcare visits. It's fantastic for patients and doctors since they can obtain aid quickly. I...
Read more
I love microlearning Platforms in today's fast-paced world. Short, focused teachings that engage me are key. Microlearning platforms are great...
Think of a notebook on your computer or tablet that can be changed to fit whatever you want to write...
As of late, Homeschool Apps has gained a lot of popularity, which means that an increasing number of...
From what I've seen, HelpDesk software is essential for modern businesses to run easily. It's especially useful for improving customer...
For all of our important pictures, stories, and drawings, Google Drive is like a big toy box. But sometimes the...