Skip to content

Commit 6d4b103

Browse files
author
gau1991
committed
Added Dpkg::Options::=--force-confold to apt-get install
1 parent c8d2ef4 commit 6d4b103

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ee/core/aptget.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ def install(self, packages):
5656
all_packages = ' '.join(packages)
5757
try:
5858
with open('/var/log/ee/ee.log', 'a') as f:
59-
proc = subprocess.Popen('apt-get install -y {0}'
59+
proc = subprocess.Popen("apt-get install -o Dpkg::Options::=--"
60+
"force-confold -y {0}"
6061
.format(all_packages), shell=True,
6162
stdin=None, stdout=f, stderr=f,
6263
executable="/bin/bash")

0 commit comments

Comments
 (0)