Re: How do I permanently disable unattended downloads of software/security updates?
Hi
> Sent: Friday, May 28, 2021 at 4:09 AM
> From: l0f4r0@tuta.io
> To: "Debian User" <debian-user@lists.debian.org>
> Subject: Re: How do I permanently disable unattended downloads of software/security updates?
>
> What you call "package" is actually a simple file right?
Yes, it is a file that contains a lot of programming code or what you would call scripting language. The default path is /etc/apt/apt.conf.d/. I guess every one who installs Debian 10.9 should have it too, yourself included.
> But the service is still currently running right?
I don't know how to answer your question because my knowledge of computing and Linux is basic/elementary.
> systemctl status unattended-upgrades
Below is the result:
unattended-upgrades.service - Unattended Upgrades Shutdown
Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; disabled; ve
Active: inactive (dead)
Docs: man:unattended-upgrade(8)
> Can you provide us with the following command results?
>
> cat /etc/apt/apt.conf.d/10periodic
Below is the result of cat /etc/apt/apt.conf.d/10periodic
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Unattended-Upgrade "0";
> cat /etc/apt/apt.conf.d/00aptitude
Below is the result of cat /etc/apt/apt.conf.d/00aptitude
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
> You confirm that you never ran something like the following?
>
> sudo apt remove unattended-upgrades
> sudo apt purge unattended-upgrades
Yes, I confirm that I have never issued the following one of two commands, viz.:
sudo apt remove unattended-upgrades
sudo apt purge unattended-upgrades
The reason is that I find it too drastic a step. I chose to disable by doing sudo systemctl disable unattended-upgrades. I did delete the package called 50unattended-upgrades (as mentioned in my original post.)
> What give you the next commands please?
>
> apt-config dump | grep -i unatt
Below is the result of apt-config dump | grep -i unatt
APT::Periodic::Unattended-Upgrade "0";
> apt-config dump | grep -i APT::Periodic
Below is the result of apt-config dump | grep -i APT::Periodic
APT::Periodic "";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Unattended-Upgrade "0";
> NB: Have you rebooted and observed the same behavior since your posts?
After rebooting, I have no opportunity to observe the same behavior since my posts because there are no software/security updates that are relevant to my Debian system at the time of writing this email. Based on my past experience, Debian only downloads software/security updates for my kernel and the installed packages. The installed packages on my system are minimal. I'll have to wait patiently for the next software/security updates for my installed packages.
Thank you for your time and help. I really appreciate it.
Best regards.
Reply to: