[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#861889: apt: apt.systemd.daily runs before network comes up



On Fri, May 05, 2017 at 01:17:19PM +0200, Hendrik Tews wrote:
> Package: apt
> Version: 1.4.1
> Severity: normal
> 
> Dear Maintainer,
> 
> I configured
> 
>     APT::Periodic::Enable "1";
>     APT::Periodic::Update-Package-Lists "1";
>     APT::Periodic::Download-Upgradeable-Packages "1";
> 
> but apt almost never downloads anything automatically. The reason
> is that systemd runs apt.systemd.daily before the network comes
> up.

The timer is only started once the network is up. Check that
your network-online target actually ensures that the network
is up. (the service might want to depend on that as well, not
sure, but the service is really only started by the timer at
boot...)

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev
                  |  Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline').  Thank you.


Reply to: