MSYS2 pacman: failed to synchronize all databases
Hi,
I'm trying to build my app for Win with MSYS2. App depends on libtiff.
I've tried pacman -S --noconfirm mingw-w64-x86_64-libtiff
But it failed with
failed retrieving file 'mingw-w64-x86_64-libtiff-4.0.10-1-any.pkg.tar.xz' from repo.msys2.org : The requested URL returned error: 404
That's ok as there are mingw-w64-x86_64-libtiff-4.2.0-1-* and no 4.0 vers.
So pacman's db is outdated.
Then I tried to update pacman packages db with pacman -Suy --noconfirm
. But it failed too:
pacman -Suy --noconfirm
:: Synchronizing package databases...
downloading mingw32.db...
downloading mingw32.db.sig...
error: mingw32: key "5F944B027F7FE2091985AA2EFA11531AA0AA7F57" is unknown
:: Import PGP key 4096R/5F944B027F7FE2091985AA2EFA11531AA0AA7F57, "Christoph Reiter (MSYS2 development key) <[email blocked]>", created: 2020-06-22? [Y/n] error: mingw32: signature from "Christoph Reiter (MSYS2 development key) <[email blocked]>" is unknown trust
error: failed to update mingw32 (invalid or corrupted database (PGP signature))
downloading mingw64.db...
downloading mingw64.db.sig...
error: mingw64: signature from "Christoph Reiter (MSYS2 development key) <[email blocked]>" is unknown trust
error: failed to update mingw64 (invalid or corrupted database (PGP signature))
downloading msys.db...
downloading msys.db.sig...
error: msys: signature from "Christoph Reiter (MSYS2 development key) <[email blocked]>" is unknown trust
error: failed to update msys (invalid or corrupted database (PGP signature))
error: failed to synchronize all databases
Command exited with code 1
So, I suspect image with MSYS2 is broken. Any ideas?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 09 Jun, 2021 09:31 PM
Can you drop a link to a build please?
2 Posted by trufanovan on 09 Jun, 2021 09:42 PM
https://ci.appveyor.com/project/Truf/minidjvu-mod-windows
I'm new to CI, so I'm just trying to make a working build script. For linux it was quite easy.
Support Staff 3 Posted by Feodor Fitsner on 09 Jun, 2021 11:51 PM
OK, try building on
Visual Studio 2019
image (you are currently building on VS 2015 image) which has the most recent MSYS installed.4 Posted by trufanovan on 10 Jun, 2021 10:37 AM
That's helped, thanks!
trufanovan closed this discussion on 10 Jun, 2021 11:23 AM.