Updated Branches: refs/heads/master 1b209d7d4 -> 4ab5a502f
BIGTOP-1033: itest-common: fix debian install to avoid conffile prompt Signed-off-by: Mark Grover <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/4ab5a502 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/4ab5a502 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/4ab5a502 Branch: refs/heads/master Commit: 4ab5a502fcd6895775576dc562ab96ae342e02a2 Parents: 1b209d7 Author: Wing Yew Poon <[email protected]> Authored: Fri Jul 19 14:58:16 2013 -0700 Committer: Mark Grover <[email protected]> Committed: Fri Jul 19 15:22:08 2013 -0700 ---------------------------------------------------------------------- .../apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/4ab5a502/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy ---------------------------------------------------------------------- diff --git a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy index ff911fc..49d2145 100644 --- a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy +++ b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/AptCmdLinePackageManager.groovy @@ -81,7 +81,7 @@ class AptCmdLinePackageManager extends PackageManager { } public int install(PackageInstance pkg) { - shRoot.exec("env DEBIAN_FRONTEND=noninteractive apt-get -y install ${pkg.name}"); + shRoot.exec("env DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install ${pkg.name}"); pkg.installMessages = shRoot.getOut().join('\n'); return shRoot.getRet(); }
