Requre apt-get update on ubuntu tools system start 68/42568/1
authorVratko Polak <vrpolak@cisco.com>
Tue, 26 Jul 2016 13:16:35 +0000 (15:16 +0200)
committerVratko Polak <vrpolak@cisco.com>
Tue, 26 Jul 2016 13:16:35 +0000 (15:16 +0200)
This attempts to fix issues with subsequent apt-get commands.

Change-Id: I85258bb613c76d2f3c00cafa48ae8b8b80567eb0
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
jenkins-scripts/mininet-ubuntu.sh

index 61cd0562b84083a9e9b722e69f7365775e22d957..55cb2cd091d39269554f2cad9a3c411f3f7bf89e 100755 (executable)
@@ -9,6 +9,9 @@ EOF
 # disable the firewall
 /bin/bash ./disable_firewall.sh
 
+# Make sure apt-get database is up-to-date
+apt-get update -y --force-yes -qq
+
 # Install vlan for vlan based tests in VTN suites
 apt-get install -y --force-yes -qq vlan