From 7e779cbdad7608b3f022607b45778ddd0e05a5a2 Mon Sep 17 00:00:00 2001 From: Ben Vogelzang Date: Tue, 4 May 2021 16:36:36 -0500 Subject: [PATCH] Fix Appveyor builds by refreshing the package list (#494) fixes "error: failed to prepare transaction (could not find database)" --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 9c40d35e..40adafe1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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