[Bug 1667797] Re: Need manual control over apt update schedule

Julian Andres Klode jak at jak-linux.org
Fri Feb 24 20:48:11 UTC 2017


Add a systemd drop-in if you want to constraint times. Note that it
schedules a random time, not 6 and 18:00 (it is randomized by 12 hours).

** Changed in: apt (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1667797

Title:
  Need manual control over apt update schedule

Status in apt package in Ubuntu:
  Invalid

Bug description:
  Xubuntu 16.04 (Xenial)

  My ISP is ViaSat Exede satellite service.  They have a monthly data
  cap but it doesn't apply during specific time periods.  With my
  specific service it is called "Late Night Free Zone" (LNFZ) and occurs
  between 12:00 and 05:00 in my time zone (it's relative to each
  subscriber's time zone).

  Currently apt-daily.timer schedules updates at 06:00 and 18:00 according to:
  /lib/systemd/system/apt-daily.timer

  This unnecessarily wastes MBs of my data cap retrieving updates that
  won't be installed outside of the LNFZ anyways.  I would also like to
  enable all automatic updates but only within the LNFZ.  But there
  doesn't seem to be a way to change the schedule without editing the
  file directly and using dpkg-divert to protect it from reverting
  during updates.

  There needs to be an easier way to change this, either in /etc/default
  or /etc/apt, and preferably via front-ends like software-properties-
  gtk.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1667797/+subscriptions



More information about the foundations-bugs mailing list