![无人值守升级不会从向后移植升级软件包](https://linux22.com/image/100614/%E6%97%A0%E4%BA%BA%E5%80%BC%E5%AE%88%E5%8D%87%E7%BA%A7%E4%B8%8D%E4%BC%9A%E4%BB%8E%E5%90%91%E5%90%8E%E7%A7%BB%E6%A4%8D%E5%8D%87%E7%BA%A7%E8%BD%AF%E4%BB%B6%E5%8C%85.png)
unattended-upgrades
工作正常,我每天都会更新,但有时,当我打开时aptitude
,我意识到向后移植包不会自动升级。
这种情况发生在两台不同的机器(台式机和服务器)上,都是 Debian Jessie。
我的配置有什么问题吗?
/etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Origins-Pattern {
"o=Debian,n=jessie";
"o=Debian,n=jessie-updates";
"o=Debian,n=jessie-backports";
"o=Debian,n=jessie-proposed-updates";
"o=Debian,n=jessie,l=Debian-Security";
};
/etc/apt/sources.list
deb http://ftp.fr.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main
deb http://ftp.fr.debian.org/debian/ jessie-updates main
deb http://ftp.fr.debian.org/debian/ jessie-backports main
答案1
将向后移植条目更改为
"o=Debian Backports,n=jessie-backports,l=Debian Backports";
顺便说一句,与
unattended-upgrades -v -d
您可以查看哪些来源“允许”进行无人值守升级。