Skip to content

Commit 7e607db

Browse files
author
gau1991
committed
Fixed dpkg error
1 parent aa7d8f2 commit 7e607db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ee/core/aptget.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ def install(self, packages):
4747
global apt_get
4848
apt_get = apt_get.bake("-y")
4949
try:
50-
for line in apt_get.install(*packages, _iter=True):
50+
for line in apt_get.install("-o",
51+
"Dpkg::Options::=--force-confold",
52+
*packages, _iter=True):
5153
Log.info(self, Log.ENDC+line+Log.OKBLUE, end=' ')
5254
except ErrorReturnCode as e:
5355
Log.debug(self, "{0}".format(e))

0 commit comments

Comments
 (0)