Skip to content

Commit 2f94b29

Browse files
committed
pacman: enable debug mode
In my local testing, I didn't run into hangs anymore when pacman runs in debug mode. Maybe because it just outputs so many lines? Let's try if it works in CI as well Signed-off-by: Dennis Ameling <[email protected]>
1 parent 36b089f commit 2f94b29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

update-via-pacman.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if (!(Test-Path var\log -PathType Container)) {
3535
}
3636

3737
echo "Run Pacman (First Pass)"
38-
bash -lc "pacman -Syyu --overwrite=\* --noconfirm"
38+
bash -lc "pacman --debug -Syyu --overwrite=\* --noconfirm"
3939
if (!$?) { exit 1 }
4040

4141
# Ensure that the Git for Windows keyring is registered
@@ -68,7 +68,7 @@ if ($type -Match "full system upgrade") {
6868
echo "No second pass needed"
6969
} else {
7070
echo "Run Pacman again (Second Pass) to upgrade the remaining (non-core) packages"
71-
bash -lc "pacman -Su --overwrite=\* --noconfirm"
71+
bash -lc "pacman --debug -Su --overwrite=\* --noconfirm"
7272
if (!$?) { exit 1 }
7373

7474
# Ensure that the Git for Windows keyring is registered
@@ -143,4 +143,4 @@ if ($pacnew.Length -gt 0) {
143143
}
144144

145145
# Wrapping up: re-install mingw-w64-git-extra
146-
bash -lc "pacman -S --overwrite=\* --noconfirm mingw-w64-clang-aarch64-git-extra"
146+
bash -lc "pacman --debug -S --overwrite=\* --noconfirm mingw-w64-clang-aarch64-git-extra"

0 commit comments

Comments
 (0)