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
您可以查看哪些来源“允许”进行无人值守升级。