Menu

pacman update fail with "GPGME error: Invalid crypto engine"

fuga
2015-08-27
2015-10-21
  • fuga

    fuga - 2015-08-27

    I installed "msys2-x86_64-20150512.exe" in "Windows7 64Bit" according to the procedure described in http://msys2.github.io/ .

    It succeeded until step 5.
    (pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime)

    But step 6(pacman -Su) fails with the message "GPGME error: Invalid crypto engine".

    I found that the result is different by the version of msys-2.0.dll.

    The update succeeds if this version of msys-2.0.dll (or older) is used.

    File version: 2001.0.0.0
    Last write time: 2015-07-05 10:01 UTC

    in the package "msys2-runtime-2.1.0.16540.57f93e2-1-x86_64.pkg.tar.xz"

    The update fails with the GPGME error if this file (or later) is used.

    File version 2001.0.0.0
    Last write time: 2015-07-06 06:10 UTC

    in the package "msys2-runtime-2.1.0.16545.722cb4a-1-x86_64.pkg.tar.xz"

     
  • Kazunori Kimura

    Kazunori Kimura - 2015-08-30

    I got a similar error.

    Installer: msys2-x86_64-20150512.exe
    OS: Windows 7 64bit

    I ran following commands.
    1. Install msys2
    2. Sync pacmage database "pacman -Sy"
    3. update msys2-runtime "pacman -S msys2-runtime"
    4. exit and restart mingw64-shell
    5. install any package. ex "pacman -S subversion"

    I got "GPGME error: Invalid crypto engine" message at step 5.
    And I found that install indivisual package didn't cause error.
    ex: pacman -S git (cause error)
    pacman -S ca-certificates (installed collectly)

    Sincerely.

     
  • Manzoor Alam

    Manzoor Alam - 2015-10-21

    I installed "msys2-x86_64-20150916.exe" in "Windows XP 64Bit" according to the procedure described in http://msys2.github.io/

    I am getting error while Update the system packages with "pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime" command.

    $ pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime
    :: Synchronizing package databases...
    mingw32 211.9 KiB 138K/s 00:02 [#####################] 100%
    mingw32.sig 96.0 B 0.00B/s 00:00 [#####################] 100%
    error: GPGME error: Invalid crypto engine
    error: failed to update mingw32 (invalid or corrupted database (PGP signature))
    mingw64 210.5 KiB 244K/s 00:01 [#####################] 100%
    mingw64.sig 96.0 B 0.00B/s 00:00 [#####################] 100%
    error: GPGME error: Invalid crypto engine
    error: failed to update mingw64 (invalid or corrupted database (PGP signature))
    msys 125.8 KiB 102K/s 00:01 [#####################] 100%
    msys.sig 96.0 B 0.00B/s 00:00 [#####################] 100%
    error: GPGME error: Invalid crypto engine
    error: failed to update msys (invalid or corrupted database (PGP signature))
    error: failed to synchronize any databases
    error: failed to init transaction (invalid or corrupted database (PGP signature))

    Please help to resolve the error

    Thanks

     
  • Alexx83

    Alexx83 - 2015-10-21

    We not test MSYS2 on 64-bit Windows XP and not plan support it future too.
    You can try to reinstall ca-certificates, openssl and gnupg packages to try solve your problem