如何包含因分阶段而延迟的更新进行 apt 升级
当你运行 apt upgrade 时,你可能会看到如下消息:
apt_upgrade_phased.sh
# apt dist-upgrade -y
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
The following upgrades have been deferred due to phasing:
acl krb5-locales krb5-multidev libacl1 libboost-atomic1.83-dev libboost-atomic1.83.0 libboost-chrono1.83-dev libboost-chrono1.83.0t64 libboost-container1.83-dev libboost-container1.83.0 [...]这意味着某些包目前未升级,因为它们是分阶段推出的一部分。这样做是为了防止所有系统同时崩溃,以防发布了错误的更新。
要强制升级所有包,你可以使用以下命令:
apt_force_phased_updates.sh
apt -o APT::Get::Always-Include-Phased-Updates=true upgradeCheck out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow