From 0bfc82746079a64b43ff8fde320be7455fd81b69 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Tue, 19 May 2020 11:24:53 +0300 Subject: [PATCH] update pacman --- 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 49f75e430a..dcf417386e 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