Re: How do I permanently disable unattended downloads of software/security updates?
> Sent: Wednesday, May 26, 2021 at 8:23 PM
> 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?
>
> Hi,
>
> Can you type the following commands in a terminal and give us the results please (use `sudo` if necessary)?
>
> ls -al /etc/apt/apt.conf.d/
> dpkg -l | grep -i unattended-upgrades
> cat /lib/systemd/system/apt-daily.timer
> cat /etc/systemd/system/apt-daily.timer.d/override.conf
>
> Best regards,
> l0f4r0
Hi
Thanks for your reply and offer of help.
Before I provide you the answers, please note that I had removed/deleted the package called 50unattended-upgrades in /etc/apt/apt.conf.d/ before my original post in this mailing list.
Secondly, according to a reply that I received prior to your response, I issued the command
sudo systemctl diaable unattended-upgrades
Please find below the results of what you had asked me to do:
ls -al /etc/apt/apt.conf.d/
total 56
drwxr-xr-x 2 root root 4096 Apr 23 04:45 .
drwxr-xr-x 7 root root 4096 Apr 23 04:45 ..
-rw-r--r-- 1 root root 49 Sep 8 2020 00aptitude
-rw-r--r-- 1 root root 82 Sep 8 2020 00CDMountPoint
-rw-r--r-- 1 root root 40 Sep 8 2020 00trustcdrom
-rw-r--r-- 1 root root 1018 May 12 2020 01autoremove
-r--r--r-- 1 root root 3636 Apr 17 15:17 01autoremove-kernels
-rw-r--r-- 1 root root 89 Apr 10 07:12 10periodic
-rw-r--r-- 1 root root 202 Mar 17 2019 20listchanges
-rw-r--r-- 1 root root 1040 Mar 2 2019 20packagekit
-rw-r--r-- 1 root root 2592 Jan 26 2019 50appstream
-rw-r--r-- 1 root root 435 Jan 26 2019 60icons
-rw-r--r-- 1 root root 182 Feb 26 2019 70debconf
-rw-r--r-- 1 root root 32 Apr 17 15:17 99synaptic
dpkg -l | grep -i unattended-upgrades
ii unattended-upgrades 1.11.2 all automatic installation of security upgrades
cat /lib/systemd/system/apt-daily.timer
[Unit]
Description=Daily apt download activities
[Timer]
OnCalendar=*-*-* 6,18:00
RandomizedDelaySec=12h
Persistent=true
[Install]
WantedBy=timers.target
cat /etc/systemd/system/apt-daily.timer.d/override.conf
cat: /etc/systemd/system/apt-daily.timer.d/override.conf: No such file or directory
Reply to: