bugfix for dpkg lock 63/14963/1
authorMatthewLi <matthew.lijun@huawei.com>
Wed, 1 Jun 2016 11:57:30 +0000 (07:57 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Wed, 1 Jun 2016 11:57:30 +0000 (07:57 -0400)
Change-Id: Icd024d990635b5a52385f11e7b458e18a8f186f1
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
testsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh

index 4ae04fc..884315b 100755 (executable)
@@ -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}