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

Re: automate apt-get update

On Thu, 2010-04-08 at 09:02 +0200, Jozsi Vadkan wrote:
> I don't want to put: apt-get update in:
>  /etc/crontab
> But then how could I "automate" the: apt-get update

APT has such built-in feature, see
Which you can configure manually, or...

> ? Is there a program for it? [e.g.: update-manager under GUI?] that
> randomly runs apt-get update?

On Debian-Gnome installation, you can install update-notifier-common
which provide the file /etc/apt/apt.conf.d/10periodic, which contains
the required apt settings:
  APT::Periodic::Update-Package-Lists "1";
  APT::Periodic::Download-Upgradeable-Packages "0";
  APT::Periodic::AutocleanInterval "0";

(Since I don't use it on my laptop, I can't give you much details)

On servers, you might want to une apt-listchanges to get notifications,



Reply to: