[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I permanently disable unattended downloads of software/security updates?



	Hi.

On Fri, Jun 04, 2021 at 07:59:31AM -0400, Greg Wooledge wrote:
> On Fri, Jun 04, 2021 at 02:15:24AM +0200, Stella Ashburne wrote:
> > Output of systemctl list-timers | grep apt
> > 
> > Thu  2021-06-03 20:29:30 GMT  9h left    Thu 2021-06-03 09:18:00 GMT  1h 17min ago apt-daily.timer              apt-daily.service
> > Fri  2021-06-04 06:51:16 GMT  20h left   Thu 2021-06-03 09:18:00 GMT  1h 17min ago apt-daily-upgrade.timer      apt-daily-upgrade.service
> 
> Yes, you posted this already.
> 
> The point wasn't for you to copy and paste the output here and wait
> for someone to hand-hold you through the next step.  The point was
> for you to read and understand the output yourself.

I'd like to add here that:

- apt-daily is written to respect APT::Periodic::* settings, and you
  have those unset.
- in this very thread a possibility of a custom cron job that download
  updates was excluded.
- therefore it's simply wrong to include in the result of "systemctl
  list-timers" only "apt" timers and exclude everything else, since
  your problem can lie in those excluded timers.


> 3) Calling "systemctl disable" only works for *services*,

That not how it works, actually.
systemctl disable can be used to disable any timer, but you have to
specify it explicitly. I.e.

systemctl disable apt-daily.timer

Running "systemctl disable" on a service that's called by timer should
do nothing indeed.

Reco


Reply to: