bannerAds
Global
language language

Product

Doc

Support

Menu 

SiliCloud Help Document Center

search

Popular search terms

关闭Ubuntu 自动更新

Update time 2023-03-08 23:20  Version v1.2
I want feedback 
Collect My collection

Ubuntu 自动更新是默认开启的。
但是服务器的自动更新,有时会导致一些软件被强制重启或初始化。

如果您希望关闭Ubuntu的自动更新,请执行以下命令:

systemctl stop apt-daily.timer apt-daily.service apt-daily-upgrade.timer apt-daily-upgrade.service
systemctl mask apt-daily.service apt-daily-upgrade.service
systemctl disable apt-daily.service apt-daily-upgrade.service
systemctl disable apt-daily.timer apt-daily-upgrade.timer
systemctl daemon-reload

systemctl mask unattended-upgrades.service
systemctl stop unattended-upgrades.service

以上命令,在Ubuntu 20中,测试工作正常,其他版本有待检测。

Do you have any suggestions for this document?

Your rating for this document