From 8b72149ff762e5597a9916ebaead17e9640002fd Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Tue, 19 May 2020 17:25:09 +0300 Subject: [PATCH] Update pacman installation process (#899) --- images/win/scripts/Installers/Install-Msys2.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/images/win/scripts/Installers/Install-Msys2.ps1 b/images/win/scripts/Installers/Install-Msys2.ps1 index 49f75e430..dcf417386 100644 --- a/images/win/scripts/Installers/Install-Msys2.ps1 +++ b/images/win/scripts/Installers/Install-Msys2.ps1 @@ -38,6 +38,13 @@ bash.exe -c "pacman-key --init 2>&1" Write-Host "bash pacman-key --populate msys2" bash.exe -c "pacman-key --populate msys2 2>&1" +Write-Host "pacman --noconfirm -Sy pacman" +pacman --noconfirm -Sy pacman +pacman --noconfirm -Su + +# Force stop gpg-agent to continue installation +Get-Process gpg-agent -ErrorAction SilentlyContinue | Stop-Process -Force + Write-Host "pacman --noconfirm -Syyuu" pacman.exe -Syyuu --noconfirm pacman.exe -Syuu --noconfirm