rgl / windows-domain-controller-vagrant

Example Windows Domain Controller
140 stars 35 forks source link

provision-msys2.ps1 throws error #4

Closed MatthiasHertel closed 3 years ago

MatthiasHertel commented 4 years ago

Line: https://github.com/rgl/windows-domain-controller-vagrant/blob/68c952cbdae647cf2c800f72ed509239c0e9dfc0/provision/provision-msys2.ps1#L115

Throws:

 pacman --noconfirm -Sy man mingw-w64-x86_64-openldap
:: Synchronizing package databases...
 mingw32 is up to date
 mingw64 is up to date
 msys is up to date
resolving dependencies...
looking for conflicting packages...

Packages (29) db-5.3.28-2  gdbm-1.18.1-3  groff-1.22.4-1  libgdbm-1.18.1-3
              libpipeline-1.5.2-1  mingw-w64-x86_64-ca-certificates-20190110-1
              mingw-w64-x86_64-cyrus-sasl-2.1.27-1
              mingw-w64-x86_64-expat-2.2.9-1
              mingw-w64-x86_64-gcc-libs-10.1.0-2
              mingw-w64-x86_64-gdbm-1.18.1-2
              mingw-w64-x86_64-gettext-0.19.8.1-8  mingw-w64-x86_64-gmp-6.2.0-1
              mingw-w64-x86_64-libffi-3.3-1  mingw-w64-x86_64-libiconv-1.16-1
              mingw-w64-x86_64-libtasn1-4.16.0-1
              mingw-w64-x86_64-libtool-2.4.6-17
              mingw-w64-x86_64-libwinpthread-git-8.0.0.5814.9dbf4cc1-1
              mingw-w64-x86_64-mpc-1.1.0-1  mingw-w64-x86_64-mpfr-4.0.2-2
              mingw-w64-x86_64-openssl-1.1.1.g-1
              mingw-w64-x86_64-p11-kit-0.23.20-2
              mingw-w64-x86_64-readline-8.0.004-1
              mingw-w64-x86_64-sqlite3-3.31.1-1  mingw-w64-x86_64-tcl-8.6.10-1
              mingw-w64-x86_64-termcap-1.3.1-5  mingw-w64-x86_64-zlib-1.2.11-7
              perl-5.30.2-1  man-db-2.9.1-1  mingw-w64-x86_64-openldap-2.4.50-1

Total Installed Size:  237.63 MiB

:: Proceed with installation? [Y/n]
(29/29) checking keys in keyring                   [#####################] 100%
(29/29) checking package integrity                 [#####################] 100%
(29/29) loading package files                      [#####################] 100%
error: could not open file /var/cache/pacman/pkg/libgdbm-1.18.1-3-x86_64.pkg.tar.zst: Child process exited with status 127
error: could not open file /var/cache/pacman/pkg/gdbm-1.18.1-3-x86_64.pkg.tar.zst: Child process exited with status 127
error: could not open file /var/cache/pacman/pkg/mingw-w64-x86_64-gcc-libs-10.1.0-2-any.pkg.tar.zst: Child process exited with status 127
error: could not open file /var/cache/pacman/pkg/mingw-w64-x86_64-libtool-2.4.6-17-any.pkg.tar.zst: Child process exited with status 127
error: could not open file /var/cache/pacman/pkg/mingw-w64-x86_64-openldap-2.4.50-1-any.pkg.tar.zst: Child process exited with status 127
error: failed to commit transaction (cannot open package file)
Errors occurred, no packages were upgraded.
rgl commented 4 years ago

Try to manually execute that command inside the vm to see if it was a temporary problem. If it does not work you have to raise an issue with the msys2 project to ask for help.