On Wednesday 07 April 2010 22:52:34 Jozsi Vadkan wrote: > how do you automate the updates in Lenny? [if you're using it as a > "desktop os", and you don't want to give: apt-get update; apt-get > upgrade -y every week..]? > > i'm using this: > > > > #!/bin/bash > > RANDOMTIME=$(echo $[ ($RANDOM % 60 ) ] ) > if ! grep -q "root dpkg --configure -a" /etc/crontab; then echo > $RANDOMTIME" * * * * root dpkg --configure -a; apt-get upgrade -y > > /dev/null 2>&1; apt-get install -y > /dev/null 2>&1" >> /etc/crontab; fi > > > > + install "update-manager" package - because it will "apt-get update" in > the background [in random time - so the mirror servers "won't have > loads"]. - at least i think is gives out "apt-get update" > > > > any other solutions/tips?
One more vote for cron-apt. It handles such tasks perfectly. Also you can use update-manager-gnome/update-notifier to be notified about updates and install them. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201004072338.33592.raven.os...@gmail.com