summaryrefslogtreecommitdiffstats
path: root/testsuites/rubbos
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-06-01 07:57:30 -0400
committerMatthewLi <matthew.lijun@huawei.com>2016-06-01 07:57:30 -0400
commit6ceb95d0aea63e6d3c54b07577330b6566f20192 (patch)
treeabe1c89ecd45a0ac4a89d0aac3b44a4a7c8c9682 /testsuites/rubbos
parent7fa6864522dec3924cd5e8006964d18e934b35bf (diff)
bugfix for dpkg lock
Change-Id: Icd024d990635b5a52385f11e7b458e18a8f186f1 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'testsuites/rubbos')
-rwxr-xr-xtestsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh b/testsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh
index 4ae04fc6..884315be 100755
--- a/testsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh
+++ b/testsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh
@@ -167,6 +167,8 @@ fetch_remote_resources() {
mkdir -p $LOCAL_GIT_REPO
sudo apt-get update
sudo dpkg --configure -a
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
sudo apt-get install -y git
cd $LOCAL_GIT_REPO
git clone ${REMOTE_GIT_REPO}