Hello!
I want to change frequency checking updates. (for example on 7 days)
In "help-files" written:
"To slow down the frequency of checking, change the APT::Periodic::Update-Package-Lists setting in the /etc/apt/apt.conf.d/02periodic file from a “1” to a “7”, and keep the apt cron job in the cron.daily folder."
I'm changed file /etc/cron.daily/1-quick-live-update (uncomment: APT::Periodic::Update-Package-Lists "7";), this doesn't work.
I don't understand how to keep the apt cron job in the cron.daily folder to make it work.
Thanks.
MX-Updater how to keep the apt cron job in the cron.daily folder [Solved]
MX-Updater how to keep the apt cron job in the cron.daily folder
Last edited by usermx on Wed Feb 22, 2023 3:16 am, edited 2 times in total.
- Eadwine Rose
- Administrator
- Posts: 15284
- Joined: Wed Jul 12, 2006 2:10 am
Re: How to keep the apt cron job in the cron.daily folder
@usermx Your topic is here.
Please don't dig up really old solved topics, thanks!
Please don't dig up really old solved topics, thanks!
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Re: How to keep the apt cron job in the cron.daily folder
Please formulate your question in a way which explains what you are going to achieve.usermx wrote: Tue Feb 21, 2023 4:47 pm Hello!
I don't understand how to keep the apt cron job in the cron.daily folder.
Thanks.
Thanks.
Re: MX-Updater how to keep the apt cron job in the cron.daily folder
I changed the post to make it clear.
Thanks.
Thanks.
Re: MX-Updater how to keep the apt cron job in the cron.daily folder [Solved]
The message you have quoted is out of context and as such not applicable out of date in MX Linuxusermx wrote: Tue Feb 21, 2023 4:47 pm In "help-files" written:
"To slow down the frequency of checking, change the APT::Periodic::Update-Package-Lists setting in the /etc/apt/apt.conf.d/02periodic file from a “1” to a “7”, and keep the apt cron job in the cron.daily folder."
+++EDIT+++: Oops, just found out, you referring to the message on the wiki, which would need some update,b/c
for some time apt-notifier had some changes in respect to unattended update/upgrades, which makes the help-text a candidate for an update.
To change periodic update interval for updating package lists automatically can be done this way.usermx wrote: Tue Feb 21, 2023 4:47 pm I want to change frequency checking updates. (for example on 7 days)
...
I'm changed file /etc/cron.daily/1-quick-live-update (uncomment: APT::Periodic::Update-Package-Lists "7";), this doesn't work.
...
I don't understand how to keep the apt cron job in the cron.daily folder to make it work.
Thanks.
Example to change to 7 days:
* Create a file in /etc/apt/apt-conf.d/ with the file name 99apt-periodic-update-overwrite
File:
Code: Select all
/etc/apt/apt.conf.d/99apt-periodic-update-overwrite
Code: Select all
APT::Periodic::Update-Package-Lists "7";
Code: Select all
cat <<EOF | sudo tee /etc/apt/apt.conf.d/99apt-periodic-update-overwrite
APT::Periodic::Update-Package-Lists "7";
EOF
Re: MX-Updater how to keep the apt cron job in the cron.daily folder
Thanks, I will try and report back.fehlix wrote: Wed Feb 22, 2023 8:18 amThe message you have quoted is out of context and as such not applicable out of date in MX Linuxusermx wrote: Tue Feb 21, 2023 4:47 pm In "help-files" written:
"To slow down the frequency of checking, change the APT::Periodic::Update-Package-Lists setting in the /etc/apt/apt.conf.d/02periodic file from a “1” to a “7”, and keep the apt cron job in the cron.daily folder."
+++EDIT+++: Oops, just found out, you referring to the message on the wiki, which would need some update,b/c
for some time apt-notifier had some changes in respect to unattended update/upgrades, which makes the help-text a candidate for an update.
To change periodic update interval for updating package lists automatically can be done this way.usermx wrote: Tue Feb 21, 2023 4:47 pm I want to change frequency checking updates. (for example on 7 days)
...
I'm changed file /etc/cron.daily/1-quick-live-update (uncomment: APT::Periodic::Update-Package-Lists "7";), this doesn't work.
...
I don't understand how to keep the apt cron job in the cron.daily folder to make it work.
Thanks.
Example to change to 7 days:
* Create a file in /etc/apt/apt-conf.d/ with the file name 99apt-periodic-update-overwrite
File:Content:Code: Select all
/etc/apt/apt.conf.d/99apt-periodic-update-overwrite
or on the command line create the file this way:Code: Select all
APT::Periodic::Update-Package-Lists "7";
Code: Select all
cat <<EOF | sudo tee /etc/apt/apt.conf.d/99apt-periodic-update-overwrite APT::Periodic::Update-Package-Lists "7"; EOF
Re: MX-Updater how to keep the apt cron job in the cron.daily folder
Everything works fine, thanks for the help!