[arch] fix: not displaying any substatus when retrieving packages (pacman)

This commit is contained in:
Vinicius Moreira
2022-01-31 16:17:27 -03:00
parent b130ad6d0b
commit 6eda2948de
12 changed files with 16 additions and 5 deletions

View File

@@ -733,7 +733,7 @@ def upgrade_several(pkgnames: Iterable[str], root_password: str, overwrite_confl
def download(root_password: str, *pkgnames: str) -> SimpleProcess:
return SimpleProcess(cmd=['pacman', '-Swdd', *pkgnames, '--noconfirm'],
return SimpleProcess(cmd=['pacman', '-Swdd', *pkgnames, '--noconfirm', '--noprogressbar'],
root_password=root_password,
error_phrases={'error: failed to prepare transaction', 'error: failed to commit transaction', 'error: target not found'},
shell=True)