关闭Ubuntu Server系统自动更新
修改配置文件 /etc/apt/apt.conf.d/10periodic 中相关设置,进行关闭即可。
$ sudo vim /etc/apt/apt.conf.d/10periodic
0 是关闭,1 是开启,将所有值改为 0
APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0";