Skip to content

Commit

Permalink
Fix Appveyor builds by refreshing the package list (#494)
Browse files Browse the repository at this point in the history
fixes "error: failed to prepare transaction (could not find database)"
  • Loading branch information
bvogelzang authored May 4, 2021
1 parent 77341a3 commit 7e779cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ install:
# Kill all running msys2 binaries to avoid error "size of shared memory region changed".
# See https://github.com/msys2/MSYS2-packages/issues/258
- powershell -Command "Get-Process | Where-Object {$_.path -like 'C:\msys64*'} | Stop-Process"
# refresh the package list to avoid "error: failed to prepare transaction (could not find database)"
- ridk exec bash -c "pacman --noconfirm -Sy"
# prevent freetds to link to wrong ws2_32 lib on i686-w64-mingw32
- c:/msys64/usr/bin/rm /usr/lib/w32api/libws2_32.a
# Set up project prerequisits
Expand Down

0 comments on commit 7e779cb

Please sign in to comment.