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?


-- 
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/1270666354.6395.7.ca...@localhost

Reply via email to