how to stop cron apt from using all my dialup bandwidth

Erik Christiansen erik at dd.nec.com.au
Mon Apr 3 08:57:21 UTC 2006


On Mon, Apr 03, 2006 at 01:30:39AM +0200, Dennis Kaarsemaker wrote:
> On zo, 2006-04-02 at 13:55 -0400, golfer wrote:
> 
> > What's the best way to disable /etc/cron.daily/apt so it doesn't take
> > all my dialup bandwidth when I need it most? 
> 
> Set appropriate variables in /etc/apt/apt.conf as explained at the top
> of that crontab file.
> 
> APT::Periodic::Update-Package-List=0;

Aaah, that's well worth knowing.   :-)

On Ubuntu 5.10, it seems though:

a) There's no /etc/apt/apt.conf. Instead, the APT::Periodic:: stuff is
   in /etc/apt/apt.conf.d/10periodic .

b) There's no handy explanatory text in that file. (But the method names
   seem pretty self-explanatory.)

c) The manpage for apt.conf seems to be living in 2004, and also refers
   to the non-existent /etc/apt/apt.conf .

Your information indirectly sets my mind at rest on automatic upgrading:

APT::Periodic::Download-Upgradeable-Packages "0";           (Phew!)

Thanks,
Erik




More information about the ubuntu-users mailing list