<div dir="ltr">I'm not positive, but I think that if you're not using unattended-upgrades, sources won't be refreshed until you ask.<div><br></div><div>I'm not sure how to change the default of one day, though.</div><div><br></div><div><div>$ zcat /usr/share/doc/unattended-upgrades/README.md.gz | perl -ne 'BEGIN { $/="\n\n" }; print if $_ =~ /day/;'</div><div>The unattended-upgrades package is normally activated by</div><div>software-properties or via debconf. By default this runs an update</div><div>every day.</div><div><br></div><div>To activate this script manually you need to ensure that the apt</div><div>configuration contains the following lines (this can be done via the</div><div>graphical "Software Source" program or via dpkg-reconfigure as well):</div><div>```</div><div>APT::Periodic::Update-Package-Lists "1";</div><div>APT::Periodic::Unattended-Upgrade "1";</div><div>```</div><div>This means that it will check for upates every day and install them</div><div>(if that is possible). If you have update-notifier installed, it will</div><div>setup /etc/apt/apt.conf.d/10periodic. Just edit this file then to fit</div><div>your needs. If you do not have this file, just create it or</div><div>create/edit /etc/apt/apt.conf - you can check your configuration by</div><div>running "apt-config dump".</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 11, 2017 at 5:32 AM, Christopher Howard <span dir="ltr"><<a href="mailto:christopher.howard@qlfiles.net" target="_blank">christopher.howard@qlfiles.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list, Debian security question: I know how to run apt-get update, but<br>
where do I check on the system to see how often (if ever) that command<br>
is running automatically? I don't want automatic updates, but I do want<br>
the repositories being refreshed every day, and I'm not sure how often<br>
it is happening.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<a href="https://qlfiles.net" rel="noreferrer" target="_blank">https://qlfiles.net</a><br>
______________________________<wbr>_________________<br>
aklug mailing list<br>
<a href="mailto:aklug@aklug.org">aklug@aklug.org</a><br>
<a href="https://lists.aklug.org/mailman/listinfo/aklug" rel="noreferrer" target="_blank">https://lists.aklug.org/<wbr>mailman/listinfo/aklug</a><br>
</font></span></blockquote></div><br></div>