We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 88dffc6 + 8afa439 commit 06111b1Copy full SHA for 06111b1
vmupdate/agent/source/pacman/pacman_cli.py
@@ -72,7 +72,7 @@ def clean(self) -> int:
72
Clean cache files of package manager.
73
Should return 0 on success or EXIT.ERR_VM_CLEANUP otherwise.
74
"""
75
- cmd = [self.package_manager, "-Scc"] # consider -Sc
+ cmd = [self.package_manager, "--noconfirm", "-Sc"]
76
result = self.run_cmd(cmd, realtime=False)
77
return_code = EXIT.ERR_VM_CLEANUP if result.code != 0 else 0
78
return return_code
0 commit comments