Skip to content

Commit 7e779cb

Browse files
authored
Fix Appveyor builds by refreshing the package list (#494)
fixes "error: failed to prepare transaction (could not find database)"
1 parent 77341a3 commit 7e779cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ install:
3232
# Kill all running msys2 binaries to avoid error "size of shared memory region changed".
3333
# See https://github.com/msys2/MSYS2-packages/issues/258
3434
- powershell -Command "Get-Process | Where-Object {$_.path -like 'C:\msys64*'} | Stop-Process"
35+
# refresh the package list to avoid "error: failed to prepare transaction (could not find database)"
36+
- ridk exec bash -c "pacman --noconfirm -Sy"
3537
# prevent freetds to link to wrong ws2_32 lib on i686-w64-mingw32
3638
- c:/msys64/usr/bin/rm /usr/lib/w32api/libws2_32.a
3739
# Set up project prerequisits

0 commit comments

Comments
 (0)