fix(apt,packaging): add needrestart non-interactive env vars and enforce GNU tar format for dpkg compatibility
This commit is contained in:
1 parent
44c9423166
commit
76c6a2fc5f
2 files changed
+16
-6
No files matched your search
@@ -19,6 +19,8 @@ class AptManager(PackageManager):
|
||||
env: Dict[str, str] = {}
|
||||
if non_interactive:
|
||||
env["DEBIAN_FRONTEND"] = "noninteractive"
|
||||
env["NEEDRESTART_MODE"] = "a"
|
||||
env["NEEDRESTART_SUSPEND"] = "1"
|
||||
return env
|
||||
|
||||
def refresh_repositories(self) -> CommandResult:
|
||||
|
||||
Reference in new issue
Block a user