when you tell apt-get to shut up it does not really
+dsa-nagios-nrpe-config (68) unstable; urgency=low
+
+ * dsa-update-apt-status: Ensure apt-get update is quiet even when stuff
+ goes wrong.
+
+ -- Peter Palfrader <weasel@debian.org> Wed, 11 Feb 2009 21:59:55 +0100
+
dsa-nagios-nrpe-config (67) unstable; urgency=low
* Minor tweak to dsa-check-packages: reorder ok and obs(ign), change
# run apt-get update, retry a few times if it fails
count=0
while [ "$count" -lt "$UPDATE_RUNS" ]; do
- apt-get update -qq
+ apt-get update -qq >/dev/null >&2
if [ "$?" = "0" ]; then break; fi
sleep $(( $RANDOM % 600 ))
count="$(( $count + 1 ))"