무인 업그레이드가 호출되지 않는 것 같습니다 apt-get update
. 무인 업그레이드를 실행한 후에는 apt-get update
예상대로 작동하지만 이는 무인 업그레이드를 사용하는 목적을 상실합니다.
$ sudo unattended-upgrade -d
Initial blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Kali,a=kali-rolling']
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s)
fetch.run() result: 0
blacklist: []
whitelist: []
No packages found that can be upgraded unattended and no pending auto-removals
편집 1:
~$ apt-config dump | grep -i unattended
APT::Periodic::Unattended-Upgrade "1";
Unattended-Upgrade "";
Unattended-Upgrade::Origins-Pattern "";
Unattended-Upgrade::Origins-Pattern:: "o=Kali,a=kali-rolling";
답변1
데비안에서의 내 구성.
cat /etc/apt/apt.conf.d/10periodic
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::Unattended-Upgrade "1";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Update-Package-Lists "1";
시스템에 뭔가가 누락되어 있는지 확인하십시오.
답변2
나를 위해 나는 단지 추가한다
Unattended-Upgrade::Origins-Pattern{
...
"origin=Kali";
...
}