diff --git a/bauh/gems/arch/pacman.py b/bauh/gems/arch/pacman.py index 71e84d08..b7f2a09f 100644 --- a/bauh/gems/arch/pacman.py +++ b/bauh/gems/arch/pacman.py @@ -94,7 +94,7 @@ def install_as_process(pkgpath: str, root_password: str, aur: bool, pkgdir: str else: cmd = ['pacman', '-S', pkgpath, '--noconfirm'] # pkgpath = pkgname - return SystemProcess(new_root_subprocess(cmd, root_password, cwd=pkgdir)) + return SystemProcess(new_root_subprocess(cmd, root_password, cwd=pkgdir), wrong_error_phrase='warning: downgrading package') def list_desktop_entries(pkgnames: Set[str]) -> List[str]: