Or if you're even lazier, like me, just drop an executable script
into /etc/cron.daily/

$ cat /etc/cron.daily/apt
#!/bin/bash
apt-get update -qq
apt-get dist-upgrade -qqd
apt-get dist-upgrade -qqdt experimental


For what its worth, whenever I want to download something big, now (like
upgrading to experimental gnome last week) I jump onto jetstreamgames
and download the packages from the ftp2.jetstreamgames.co.nz mirror
(which I use as my primary debian mirror anyway)

- Sascha


On Mon, 2004-05-03 at 08:53 +1200, C. Falconer wrote: 
> Do you leave your box on at night time?
> 
> In my /etc/crontab file I have these lines
> 
> 0  1    *   *   *   root        /usr/bin/dpkg --get-selections >
> /etc/PACKAGELIST
> Generates a text file that shows all installed packages - good to back up
> for restoring machine
> 
> 20 1    *   *   *   root        /usr/bin/apt-get update -qq
> Quietly update the lists
> 
> 40 1    *   *   *   root        /usr/bin/apt-get dist-upgrade -qq
> --download-only
> Download all packages that are needed for an upgrade but don't install them.
> 
> 
> 0  2    *   *   mon-sat   root  /root/bin/backup > /var/log/backup.log
> Do my daily backup
> 
> All my machines have something like this, with various times set in the wee
> hours.  They all use the squid proxy too, so generally downloads are
> decreased.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to