是的,在有限的范围内。但你没有必要。有一个名为的包
unattended-upgrades可以为您完成。
Description-en: automatic installation of security upgrades
This package can download and install security upgrades automatically
and unattended, taking care to only install packages from the
configured APT source, and checking for dpkg prompts about
configuration file changes.
.
This script is the backend for the APT::Periodic::Unattended-Upgrade
option.
Run Code Online (Sandbox Code Playgroud)
正如描述所暗示的那样,此软件包旨在用于安全升级。自动安装安全升级是一个相当安全的选择。进行其他类型的无人值守升级风险更大。
| 归档时间: |
|
| 查看次数: |
3899 次 |
| 最近记录: |