有什么区别:
- Remove - New -Unused-Dependencies,和
- 删除未使用的依赖项,
执行无人值守升级时?
以下清单摘自/etc/apt/apt.conf.d/50unattended-upgrades
Ubuntu 20.04 上无人值守升级 ( ) 的配置文件。
// Do automatic removal of newly unused dependencies after the upgrade
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
// Do automatic removal of unused packages after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";