aboutsummaryrefslogtreecommitdiff
path: root/rumba
diff options
context:
space:
mode:
Diffstat (limited to 'rumba')
-rw-r--r--rumba/prototypes/irati.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py
index 72d4b4e..32b1353 100644
--- a/rumba/prototypes/irati.py
+++ b/rumba/prototypes/irati.py
@@ -81,7 +81,9 @@ class Experiment(mod.Experiment):
def install(self):
"""Installs IRATI on the nodes."""
- cmds = [self.sudo("apt-get update"),
+ cmds = [self.sudo("while fuser /var/lib/dpkg/lock > /dev/null 2>&1 " +
+ "do sleep 1; echo \"Waiting for dpkg...\"; done"),
+ self.sudo("apt-get update"),
self.sudo("apt-get install g++ gcc libtool "
"linux-headers-$(uname -r) autoconf automake "
"protobuf-compiler libprotobuf-dev "