|
|||||||||||
|
Is everyone's system "apt-get -qq update"ing every day?
From: Adam Porter <adam(at)alphapapa.net>
Date: Wed Jan 02 2008 - 22:22:22 EST
Am I missing something obvious, or...
$ less /etc/cron.daily/apt
stamp="$1"
if [ $interval -eq 0 ]; then
return 1
if apt-get -qq update 2>/dev/null; then
$ less /etc/apt/apt.conf
As you can see, I haven't enabled the perodic updates in apt.conf, but the check_stamp function returns true if the interval is set to 0, which it is by default (UpdateInterval=0). So "if check_stamp" will return true, and it will then run "apt-get -qq update", even though I haven't enabled it. And, in fact, if I disable it in apt.conf, it will still run it. Is it just me or is it strange that no one has noticed this before? Doesn't this mean that just about every Debian computer on the Internet is running "apt-get -qq update" every day? Isn't this a waste of bandwidth? -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Wed Jan 2 22:23:01 2008 This archive was generated by hypermail 2.1.8 : Fri Feb 29 2008 - 23:26:32 EST |
||||||||||
|
|||||||||||