How to automatically apt-get?
Josef Wolf
jw at raven.inka.de
Tue Sep 25 20:22:48 UTC 2007
On Tue, Sep 25, 2007 at 10:12:52AM -0300, Derek Broughton wrote:
> Apt is _designed_ to do automatic updates. You should have
> a /etc/cron.daily/apt, which does the "apt-get update". Then you need to
> have the following lines in a file somewhere in /etc/apt/apt.conf.d/:
>
> APT::Periodic::Update-Package-Lists "1";
> APT::Periodic::Download-Upgradeable-Packages "1";
>
> The first says to get the updates, the second says to download them. At
> this point they're still not installed, just downloaded.
Thanks, Derek! It looks like APT::Periodic::Unattended-Upgrade is
what I am searching for.
More information about the ubuntu-users
mailing list