In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "Ubuntu how to open the system automatic upgrade and cancel automatic update", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Ubuntu how to open the system automatic upgrade and cancel automatic update" bar!
Enable automatic upgrade of Ubuntu system
Before you learn how to turn on Ubuntu system automatic upgrade, explain why automatic upgrade is needed.
By default, ubuntu checks for updates once a day. But a software upgrade reminder pops up only once a week, unless it pops up immediately when there is a security upgrade. So, if you've been using Ubuntu for a while, you must be familiar with this picture:
But as a normal desktop user, I don't care about any update details at all. And this reminder is a complete waste of time, you are sure to trust the upgrade patch provided by Ubuntu, is that right? So, in most cases, you will definitely choose "install now", right?
So, all you have to do is click the upgrade button. Now, do you see why automatic system upgrades are needed? Turning on automatic system upgrade means that all the latest updates are downloaded and installed automatically without requesting confirmation. Isn't it convenient?
Enable Ubuntu automatic upgrade
The steps to demonstrate using Ubuntu15.04,Ubuntu 14.04 are similar.
Open Unity Dash, find the software & update:
Open the software resource settings and switch to the upgrade tab:
As you can see, the default setting is to check daily and immediately remind you of security upgrades.
Change the options for 'when there are security upgrades' and 'when there are other upgrades' to: download and install automatically.
Close the dialog box to complete the settings. In this way, each time Ubuntu checks for updates, it will automatically upgrade.
Ubuntu cancels the automatic update command
1.
The code is as follows:
Vi / etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Allowed-Origins {
/ / "${distro_id}: ${distro_codename}-security"
/ / "${distro_id}: ${distro_codename}-updates"
/ / "${distro_id}: ${distro_codename}-proposed"
/ / "${distro_id}: ${distro_codename}-backports"
}
Comment out the corresponding options for the options.
two。
The code is as follows:
Vi / etc/apt/apt.conf.d/10periodic
APT::Periodic::Update-Package-Lists "1"; / / display update package list 0 to deactivate settings
APT::Periodic::Download-Upgradeable-Packages "1"; / / download update package 0 to disable the setting
APT::Periodic::AutocleanInterval "7"; / / 7 automatic deletion
APT::Periodic::Unattended-Upgrade "1"; / / enable automatic updates 0 means disable automatic updates
This installation of ubuntu11.04 does not have this file, so look for the file with the following words under / etc/apt/apt.conf.d and find 20auto-upgrades
The code is as follows:
APT::Periodic::Update-Package-Lists "0"
APT::Periodic::Unattended-Upgrade "0"
Modify it
Thank you for your reading, the above is the content of "how to open the automatic upgrade and cancel the automatic update of the system of Ubuntu". After the study of this article, I believe you have a deeper understanding of how to open the automatic upgrade of the system and cancel the automatic update of Ubuntu. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.