Using apt-cacher-ng, after resume I see:

Oct 05 04:30:58 debiant apt.systemd.daily[21976]: Reading package lists...
Oct 05 04:30:58 debiant apt.systemd.daily[21976]: W: Failed to fetch
http://localhost:3142/debian.csail.mit.edu/debian/dists/testing/InRelease
Oct 05 04:30:58 debiant apt.systemd.daily[21976]: W: Failed to fetch
http://localhost:3142/debian.csail.mit.edu/debian/dists/unstable/InReleas
Oct 05 04:30:58 debiant apt.systemd.daily[21976]: W: Failed to fetch
http://localhost:3142/security.debian.org/dists/testing/updates/InRelease
Oct 05 04:30:58 debiant apt.systemd.daily[21976]: W: Failed to fetch
http://deb-multimedia.org/dists/testing/InRelease  Temporary failure reso
Oct 05 04:30:58 debiant apt.systemd.daily[21976]: W: Some index files
failed to download. They have been ignored, or old ones used instead.

The only service I have enabled is NetworkManager, and looking at the code
it seems like the '--timeout' parameter passed to nm-online should read
'--timeout=30' instead of the two strings in apt-helper.cc:

{"NetworkManager.service", "nm-online", "-q", "--timeout", "30", nullptr},

nm-online failures would not be seen because of the "-" prefix in the
'ExecStartPre' service statement.

Testing with customized service specifying a longer timeout (i.e. 60
seconds), and without the quiet parm.

Reply via email to