更新系统配置

This commit is contained in:
CallMeR
2026-08-07 17:33:47 +08:00
parent ed7f9c5fc9
commit 996959f740
3 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -301,13 +301,13 @@ $ editor /etc/apt/apt.conf.d/20auto-upgrades
清空当前全部配置项后,输入以下内容,并保存。
配置文件中,用来控制更新周期的参数为 `APT::Periodic::Unattended-Upgrade` `5` 表示更新周期为 `5` 天。
配置文件中,用来控制更新周期的参数为 `APT::Periodic::Unattended-Upgrade` `10` 表示更新周期为 `10` 天。
```bash
## 系统更新周期配置项
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "5";
APT::Periodic::Unattended-Upgrade "10";
APT::Periodic::AutocleanInterval "1";
APT::Periodic::CleanInterval "1";