2nd Dec, 2017, 05:25 AM
Hello,
xbian keeps updating automatically even if I set it to not doit by Kodi addon or shell script. I guess there is a config file with a true/false or yes/no line, which file is this one in order to check if it's proprly setted?
Thank you very much.
Edit 1:
Umm maybe this one
Edit 2
strange...
Two files with the same configuration?
Anyways, I see that https://github.com/xbianonpi/xbian-update/blob/e8bc5464d17c754a7f8231fc1ec43259885693f2/content/DEBIAN/postinst uses 10xbian-periodic. I suppose that 20auto-upgrades is executed after it and that's my problem.
Just to index here: https://wiki.debian.org/UnattendedUpgrades#Automatic_call_via_.2Fetc.2Fapt.2Fapt.conf.d.2F20auto-upgrades
xbian keeps updating automatically even if I set it to not doit by Kodi addon or shell script. I guess there is a config file with a true/false or yes/no line, which file is this one in order to check if it's proprly setted?
Thank you very much.
Edit 1:
Umm maybe this one
Terminal
/etc/apt/apt.conf.d/20auto-upgrades
Edit 2
strange...
Terminal
xbian@xbian:~$ cat /etc/apt/apt.conf.d/
01autoremove 05xbian 10periodic 20auto-upgrades 99progress-bar
01autoremove-kernels 06xbian-btrfs 10xbian-periodic 50unattended-upgrades 99xbian-update-motd
03forceloop 07xbian-cache 15update-stamp 70debconf
xbian@xbian:~$ cat /etc/apt/apt.conf.d/10xbian-periodic
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "0";
xbian@xbian:~$ cat /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
01autoremove 05xbian 10periodic 20auto-upgrades 99progress-bar
01autoremove-kernels 06xbian-btrfs 10xbian-periodic 50unattended-upgrades 99xbian-update-motd
03forceloop 07xbian-cache 15update-stamp 70debconf
xbian@xbian:~$ cat /etc/apt/apt.conf.d/10xbian-periodic
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "0";
xbian@xbian:~$ cat /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
Two files with the same configuration?
Anyways, I see that https://github.com/xbianonpi/xbian-update/blob/e8bc5464d17c754a7f8231fc1ec43259885693f2/content/DEBIAN/postinst uses 10xbian-periodic. I suppose that 20auto-upgrades is executed after it and that's my problem.
Just to index here: https://wiki.debian.org/UnattendedUpgrades#Automatic_call_via_.2Fetc.2Fapt.2Fapt.conf.d.2F20auto-upgrades