Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

how to check if 02periodic works

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
fred44nl
Posts: 215
Joined: 2018-07-14 08:54
Has thanked: 1 time

how to check if 02periodic works

#1 Post by fred44nl »

I am running Debian 9 and have created a file 02periodic in /etc/apt/apt.conf.d
the contents if 02periodic is:
// Control parameters for cron jobs by /etc/cron.daily/apt //

// Enable the update/upgrade script (0=disable)
APT::Periodic::Enable "1";

// Do "apt-get update" automatically every n-days (0=disable)
APT::Periodic::Update-Package-Lists "1";

// Do "apt-get upgrade --download-only" every n-days (0=disable)
APT::Periodic::Download-Upgradeable-Packages "1";

// Do "apt-get autoclean" every n-days (0=disable)
APT::Periodic::AutocleanInterval "7";
APT::Periodic::MaxAge "5";
APT::Periodic::MinAge "2";
APT::Periodic::Verbose "0";
but how do I check if this file is handled by cron/anacron ??
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: how to check if 02periodic works

#2 Post by bw123 »

The wiki suggests configuring apt-listchanges to send you email, or looking in the logs.
https://wiki.debian.org/UnattendedUpgrades
resigned by AI ChatGPT

User avatar
fred44nl
Posts: 215
Joined: 2018-07-14 08:54
Has thanked: 1 time

Re: how to check if 02periodic works

#3 Post by fred44nl »

in /vor/log/syslog, there is:
Aug 5 06:05:09 Debian systemd[1]: Starting Daily apt upgrade and clean activities...
Aug 5 06:05:10 Debian systemd[1]: Started Daily apt upgrade and clean activities.
Aug 5 06:05:10 Debian systemd[1]: apt-daily-upgrade.timer: Adding 51min 45.255872s random time.
Aug 5 06:05:10 Debian systemd[1]: apt-daily-upgrade.timer: Adding 35min 152.233ms random time.
is this good enough ??
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1

User avatar
fred44nl
Posts: 215
Joined: 2018-07-14 08:54
Has thanked: 1 time

Re: how to check if 02periodic works

#4 Post by fred44nl »

there was a minor kernel-upgrade this morning.
and it appeared all by itself, so 02periodic is working :)
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1

Post Reply