Skip to content

Commit 308a5c5

Browse files
committed
try upgrade using same command as rubyinstaller
1 parent 12ad08b commit 308a5c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

appveyor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ install:
2626
- C:\msys64\usr\bin\curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig
2727
- ridk exec bash -c "pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig"
2828
- ridk exec bash -c "pacman -U --noconfirm --config <(echo) msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz"
29-
- C:\msys64\usr\bin\bash -lc "yes | pacman -Syuu"
29+
- C:\msys64\usr\bin\pacman --noconfirm --ask 20 --sync --refresh --refresh --sysupgrade --sysupgrade
30+
# Kill all running msys2 binaries to avoid error "size of shared memory region changed".
31+
# See https://github.com/msys2/MSYS2-packages/issues/258
32+
- powershell -Command "Get-Process | Where-Object {$_.path -like 'C:\msys64*'} | Stop-Process"
3033

3134
# prevent freetds to link to wrong ws2_32 lib on i686-w64-mingw32
3235
- c:/msys64/usr/bin/rm /usr/lib/w32api/libws2_32.a

0 commit comments

Comments
 (0)