[Piuparts-commits] rev 460 - piatti/home/piupartsm/bin

Holger Levsen holger at alioth.debian.org
Fri Aug 7 10:08:13 UTC 2009


Author: holger
Date: 2009-08-07 10:08:13 +0000 (Fri, 07 Aug 2009)
New Revision: 460

Modified:
   piatti/home/piupartsm/bin/detect_network_issues
Log:
detect 'Some index files failed to download...' problems

Modified: piatti/home/piupartsm/bin/detect_network_issues
===================================================================
--- piatti/home/piupartsm/bin/detect_network_issues	2009-08-06 09:33:03 UTC (rev 459)
+++ piatti/home/piupartsm/bin/detect_network_issues	2009-08-07 10:08:13 UTC (rev 460)
@@ -37,11 +37,13 @@
 for SECTION in $SECTIONS ; do 
 	rgrep -l "Cannot initiate the connection to" $MASTER/$SECTION/fail >> $FILE
 	rgrep -l -e "W: Failed to fetch.*Could not resolve" $MASTER/$SECTION/fail >> $FILE
+	rgrep -l "E: Some index files failed to download, they have been ignored, or old ones used instead." $MASTER/$SECTION/fail >> $FILE
 done
 if [ -s $FILE ] ; then 
 	echo "Network problems on detected!"
-	echo "(By grep'ing for 'Cannot initiate the connection to'"
-	echo " and 'W: Failed to fetch.*Could not resolve' in failed logs.)"
+	echo "(By grep'ing for 'Cannot initiate the connection to' and 'W: Failed to"
+	echo "fetch.*Could not resolve' and 'E: Some index files failed to download'"
+	echo "in failed logs.)"
 	echo 
 	echo "Please review the following logfiles and most likely remove them." 
         echo




More information about the Piuparts-commits mailing list