[Bug 1764928] Re: Please document apt-daily

Julian Andres Klode 1764928 at bugs.launchpad.net
Wed Aug 22 11:36:28 UTC 2018


It says:

PERIODIC AND ARCHIVES OPTIONS
       APT::Periodic and APT::Archives groups of options configure behavior of apt periodic updates, which is done by the
       /usr/lib/apt/apt.systemd.daily script. See the top of this script for the brief documentation of these options.

-- 
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/1764928

Title:
  Please document apt-daily

Status in apt package in Ubuntu:
  Invalid

Bug description:
  The following systemd services are installed along with apt:

  /lib/systemd/system/apt-daily.timer
  /lib/systemd/system/apt-daily-upgrade.timer
  /lib/systemd/system/apt-daily-upgrade.service
  /lib/systemd/system/apt-daily.service

  By default, these run the equivalent of "apt update", and "apt
  upgrade" at specified times. However, this behavior is documented
  nowhere in the man pages or /usr/share/doc.

  Furthermore, they run the command /usr/lib/apt/apt.systemd.daily,
  which is also undocumented, nor does it respond to a --help option. A
  non-savvy Linux user will not be able to determine that this is a
  shell script and find out what it does. Or worse, a partially-savvy
  Linux user will be able to determine that this is a shell script, and
  will read it imperfectly (usage is also not described in script
  comments) ending up with a wrong idea of what it does.

  The idea is to keep the system updates. That is a GOOD THING (tm).

  But it relies on undocumented behavior. That is a BAD THING (tm).

  Can we have the apt-daily service documented?

  
  madumlao at lezard ~ $ lsb_release -rd
  Description:	Ubuntu 16.04.4 LTS
  Release:	16.04

  
  apt version: 1.2.26

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



More information about the foundations-bugs mailing list