Skip to content

pacman-key errors during SDK install #670

@larsxschneider

Description

@larsxschneider

The closest existing issue I found is #537 but in my case I don't see a crash (and therefore I don't think it is a 32/64 bit issue).

Setup

I downloaded and installed git-sdk-installer-1.0.2-64.7z.exe on Win 8.1, 64-bit.

Details

During SDK installation I get this output and subsequent pacman failures:

/tmp/alpm_s94R2W/.INSTALL: line 11: pacman-key: command not found
/tmp/alpm_s94R2W/.INSTALL: line 12: pacman-key: command not found
error: command (/usr/bin/bash /usr/bin/bash -c . /tmp/alpm_s94R2W/.INSTALL; post
_install 1.4.20-1 ) failed to execute correctly
Optional dependencies for gnupg

Here is the entire log:

:: Synchronizing package databases...
 git-for-windows         1996.0   B  1949K/s 00:00 [#####################] 100%
 mingw32                  232.5 KiB   346K/s 00:01 [#####################] 100%
 mingw32.sig               96.0   B  93.8K/s 00:00 [#####################] 100%
 mingw64                  231.5 KiB  1354K/s 00:00 [#####################] 100%
 mingw64.sig               96.0   B  93.8K/s 00:00 [#####################] 100%
 msys                     130.7 KiB  3.87M/s 00:00 [#####################] 100%
 msys.sig                  96.0   B  93.8K/s 00:00 [#####################] 100%
resolving dependencies...
looking for conflicting packages...

Packages (1) msys2-runtime-2.3.1.33884.84870b7-1

Total Download Size:   2.29 MiB
Total Installed Size:  8.47 MiB

:: Proceed with installation? [Y/n]
warning: no /var/cache/pacman/pkg/ cache exists, creating...
:: Retrieving packages ...
 msys2-runtime-2.3.1...     2.3 MiB  1582K/s 00:01 [#####################] 100%
(1/1) checking keys in keyring                     [#####################] 100%
(1/1) checking package integrity                   [#####################] 100%
(1/1) loading package files                        [#####################] 100%
(1/1) checking for file conflicts                  [#####################] 100%
(1/1) checking available disk space                [#####################] 100%
:: Processing package changes...
(1/1) installing msys2-runtime                     [#####################] 100%
resolving dependencies...
looking for conflicting packages...

Packages (45) bzip2-1.0.6-2  ca-certificates-20150426-1  coreutils-8.24-1
              curl-7.47.1-1  findutils-4.6.0-1  gcc-libs-4.9.2-6
              gettext-0.19.6-1  gmp-6.1.0-1  gnupg-1.4.20-1  gzip-1.6-1
              heimdal-libs-1.5.3-8  icu-56.1-1  less-481-1
              libasprintf-0.19.6-1  libbz2-1.0.6-2  libcrypt-1.1-6
              libcurl-7.47.1-1  libdb-5.3.28-2  libedit-3.1-20150325
              libexpat-2.1.0-2  libffi-3.2.1-1  libgettextpo-0.19.6-1
              libiconv-1.14-2  libidn-1.32-1  libintl-0.19.6-1
              libmetalink-0.1.2-2  libopenssl-1.0.2.f-1  libp11-kit-0.23.2-1
              libpcre-8.38-1  libreadline-6.3.008-7  libsqlite-3.10.0.0-1
              libssh2-1.6.0-1  libtasn1-4.7-1  msys2-keyring-r9.397a52e-1
              ncurses-6.0.20151121-1  openssl-1.0.2.f-1  p11-kit-0.23.2-1
              pacman-mirrors-20160112-1  sed-4.2.2-2  which-2.21-2  xz-5.2.1-1
              zlib-1.2.8-3  bash-4.3.042-4  info-6.0-1
              pacman-5.0.0.6348.cc5a8f1-1

Total Download Size:    30.69 MiB
Total Installed Size:  141.65 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages ...
 bash-4.3.042-4-x86_64   1873.4 KiB  1372K/s 00:01 [#####################] 100%
 gcc-libs-4.9.2-6-x86_64  646.9 KiB  1350K/s 00:00 [#####################] 100%
 ncurses-6.0.2015112...  1117.3 KiB  1567K/s 00:01 [#####################] 100%
 libiconv-1.14-2-x86_64   534.0 KiB  1509K/s 00:00 [#####################] 100%
 libintl-0.19.6-1-x86_64   17.3 KiB  4.22M/s 00:00 [#####################] 100%
 libpcre-8.38-1-x86_64     90.8 KiB  3.85M/s 00:00 [#####################] 100%
 less-481-1-x86_64         88.3 KiB  3.75M/s 00:00 [#####################] 100%
 gzip-1.6-1-x86_64         84.3 KiB  3.74M/s 00:00 [#####################] 100%
 info-6.0-1-x86_64        197.6 KiB  2.97M/s 00:00 [#####################] 100%
 libgettextpo-0.19.6...    96.2 KiB  3.61M/s 00:00 [#####################] 100%
 libasprintf-0.19.6-...     3.4 KiB  3.30M/s 00:00 [#####################] 100%
 gettext-0.19.6-1-x86_64 1441.4 KiB  2.24M/s 00:01 [#####################] 100%
 libbz2-1.0.6-2-x86_64     25.3 KiB  4.13M/s 00:00 [#####################] 100%
 bzip2-1.0.6-2-x86_64      52.0 KiB  4.23M/s 00:00 [#####################] 100%
 zlib-1.2.8-3-x86_64       41.5 KiB  4.06M/s 00:00 [#####################] 100%
 libopenssl-1.0.2.f-...   815.3 KiB  2.33M/s 00:00 [#####################] 100%
 openssl-1.0.2.f-1-x...  1336.9 KiB  1312K/s 00:01 [#####################] 100%
 findutils-4.6.0-1-x...   492.6 KiB  1605K/s 00:00 [#####################] 100%
 gmp-6.1.0-1-x86_64       359.7 KiB  2.09M/s 00:00 [#####################] 100%
 coreutils-8.24-1-x86_64    2.1 MiB  1194K/s 00:02 [#####################] 100%
 sed-4.2.2-2-x86_64       671.9 KiB  2.49M/s 00:00 [#####################] 100%
 libffi-3.2.1-1-x86_64     23.2 KiB  4.53M/s 00:00 [#####################] 100%
 libtasn1-4.7-1-x86_64     92.0 KiB  3.91M/s 00:00 [#####################] 100%
 libp11-kit-0.23.2-1...    82.2 KiB  3.49M/s 00:00 [#####################] 100%
 p11-kit-0.23.2-1-x86_64  100.1 KiB  3.76M/s 00:00 [#####################] 100%
 ca-certificates-201...   384.9 KiB  2.70M/s 00:00 [#####################] 100%
 libdb-5.3.28-2-x86_64    656.4 KiB  1793K/s 00:00 [#####################] 100%
 libcrypt-1.1-6-x86_64      4.0 KiB  3.95M/s 00:00 [#####################] 100%
 libedit-3.1-2015032...    83.4 KiB  3.70M/s 00:00 [#####################] 100%
 libreadline-6.3.008...   243.4 KiB  2045K/s 00:00 [#####################] 100%
 icu-56.1-1-x86_64          7.1 MiB  2.42M/s 00:03 [#####################] 100%
 libsqlite-3.10.0.0-...   436.4 KiB  1931K/s 00:00 [#####################] 100%
 heimdal-libs-1.5.3-...   591.9 KiB  2.57M/s 00:00 [#####################] 100%
 libidn-1.32-1-x86_64     169.0 KiB  3.59M/s 00:00 [#####################] 100%
 libexpat-2.1.0-2-x86_64   47.0 KiB  3.82M/s 00:00 [#####################] 100%
 libmetalink-0.1.2-2...    20.5 KiB  4.01M/s 00:00 [#####################] 100%
 libssh2-1.6.0-1-x86_64   156.9 KiB  3.83M/s 00:00 [#####################] 100%
 libcurl-7.47.1-1-x86_64  185.0 KiB  3.84M/s 00:00 [#####################] 100%
 gnupg-1.4.20-1-x86_64   1026.9 KiB  1369K/s 00:01 [#####################] 100%
 curl-7.47.1-1-x86_64     595.3 KiB  1855K/s 00:00 [#####################] 100%
 pacman-mirrors-2016...     9.2 KiB  4.52M/s 00:00 [#####################] 100%
 msys2-keyring-r9.39...    18.9 KiB  3.69M/s 00:00 [#####################] 100%
 which-2.21-2-x86_64       17.2 KiB  4.20M/s 00:00 [#####################] 100%
 xz-5.2.1-1-x86_64        132.1 KiB  3.91M/s 00:00 [#####################] 100%
 pacman-5.0.0.6348.c...     6.8 MiB  1447K/s 00:05 [#####################] 100%
(45/45) checking keys in keyring                   [#####################] 100%
(45/45) checking package integrity                 [#####################] 100%
(45/45) loading package files                      [#####################] 100%
(45/45) checking for file conflicts                [#####################] 100%
(45/45) checking available disk space              [#####################] 100%
:: Processing package changes...
( 1/45) installing bash                            [#####################] 100%
( 2/45) installing gcc-libs                        [#####################] 100%
( 3/45) installing ncurses                         [#####################] 100%
( 4/45) installing libiconv                        [#####################] 100%
( 5/45) installing libintl                         [#####################] 100%
( 6/45) installing libpcre                         [#####################] 100%
( 7/45) installing less                            [#####################] 100%
( 8/45) installing gzip                            [#####################] 100%
( 9/45) installing info                            [#####################] 100%
(10/45) installing libgettextpo                    [#####################] 100%
(11/45) installing libasprintf                     [#####################] 100%
(12/45) installing gettext                         [#####################] 100%
(13/45) installing libbz2                          [#####################] 100%
(14/45) installing bzip2                           [#####################] 100%
(15/45) installing zlib                            [#####################] 100%
(16/45) installing libopenssl                      [#####################] 100%
(17/45) installing openssl                         [#####################] 100%
Optional dependencies for openssl
    ca-certificates [pending]
    perl
(18/45) installing findutils                       [#####################] 100%
(19/45) installing gmp                             [#####################] 100%
(20/45) installing coreutils                       [#####################] 100%
(21/45) installing sed                             [#####################] 100%
(22/45) installing libffi                          [#####################] 100%
(23/45) installing libtasn1                        [#####################] 100%
(24/45) installing libp11-kit                      [#####################] 100%
(25/45) installing p11-kit                         [#####################] 100%
(26/45) installing ca-certificates                 [#####################] 100%
(27/45) installing libdb                           [#####################] 100%
(28/45) installing libcrypt                        [#####################] 100%
(29/45) installing libedit                         [#####################] 100%
(30/45) installing libreadline                     [#####################] 100%
(31/45) installing icu                             [#####################] 100%
(32/45) installing libsqlite                       [#####################] 100%
(33/45) installing heimdal-libs                    [#####################] 100%
(34/45) installing libidn                          [#####################] 100%
(35/45) installing libexpat                        [#####################] 100%
(36/45) installing libmetalink                     [#####################] 100%
(37/45) installing libssh2                         [#####################] 100%
(38/45) installing libcurl                         [#####################] 100%
(39/45) installing gnupg                           [#####################] 100%
/tmp/alpm_s94R2W/.INSTALL: line 11: pacman-key: command not found
/tmp/alpm_s94R2W/.INSTALL: line 12: pacman-key: command not found
error: command (/usr/bin/bash /usr/bin/bash -c . /tmp/alpm_s94R2W/.INSTALL; post
_install 1.4.20-1 ) failed to execute correctly
Optional dependencies for gnupg
    curl: gpg2keys_curl [pending]
(40/45) installing curl                            [#####################] 100%
(41/45) installing pacman-mirrors                  [#####################] 100%
(42/45) installing msys2-keyring                   [#####################] 100%
(43/45) installing which                           [#####################] 100%
(44/45) installing xz                              [#####################] 100%
(45/45) installing pacman                          [#####################] 100%
warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
Optional dependencies for pacman
    diffutils
    vim
warning: Public keyring not found; have you run 'pacman-key --init'?
error: mingw32: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: mingw64: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: msys: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: database 'mingw32' is not valid (invalid or corrupted database (PGP signa
ture))
error: database 'mingw64' is not valid (invalid or corrupted database (PGP signa
ture))
error: database 'msys' is not valid (invalid or corrupted database (PGP signatur
e))
warning: Public keyring not found; have you run 'pacman-key --init'?
error: mingw32: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: mingw64: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: msys: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: database 'mingw32' is not valid (invalid or corrupted database (PGP signa
ture))
error: database 'mingw64' is not valid (invalid or corrupted database (PGP signa
ture))
error: database 'msys' is not valid (invalid or corrupted database (PGP signatur
e))
warning: Public keyring not found; have you run 'pacman-key --init'?
error: mingw32: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: mingw64: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: msys: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: database 'mingw32' is not valid (invalid or corrupted database (PGP signa
ture))
error: database 'mingw64' is not valid (invalid or corrupted database (PGP signa
ture))
error: database 'msys' is not valid (invalid or corrupted database (PGP signatur
e))
warning: Public keyring not found; have you run 'pacman-key --init'?
error: mingw32: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: mingw64: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: msys: key "5F92EFC1A47D45A1" is unknown
error: key "5F92EFC1A47D45A1" could not be looked up remotely
error: database 'mingw32' is not valid (invalid or corrupted database (PGP signa
ture))
error: database 'mingw64' is not valid (invalid or corrupted database (PGP signa
ture))
error: database 'msys' is not valid (invalid or corrupted database (PGP signatur
e))
Could not install the remaining packages
Press any key to continue . . .

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions