You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ridk install fails due to an issue with pacman-key not finding CLI tools and scripts needed to generate local keys. This is with Ruby 3.2.2-1 (x64).
PS C:\Windows\system32> ridk install
_____ _ _____ _ _ _ ___
| __ \ | | |_ _| | | | | | |__ \
| |__) | _| |__ _ _ | | _ __ ___| |_ __ _| | | ___ _ __ ) |
| _ / | | | '_ \| | | | | | | '_ \/ __| __/ _` | | |/ _ \ '__/ /
| | \ \ |_| | |_) | |_| |_| |_| | | \__ \ || (_| | | | __/ | / /_
|_| \_\__,_|_.__/ \__, |_____|_| |_|___/\__\__,_|_|_|\___|_||____|
__/ | _
|___/ _|_ _ __ | | o __ _| _ _
| (_) | |^| | | |(_|(_)\^/_>
1 - MSYS2 base installation
2 - MSYS2 system update (optional)
3 - MSYS2 and MINGW development toolchain
Which components shall be installed? If unsure press ENTER [1,3]
> sh -lc true
/usr/bin/pacman-key: line 31: /usr/share/makepkg/util/message.sh: No such file or directory
/usr/bin/pacman-key: line 32: /usr/share/makepkg/util/parseopts.sh: No such file or directory
/usr/bin/pacman-key: line 33: /usr/share/makepkg/utils_fixed_path.sh: No such file or directory
/usr/bin/pacman-key: line 625: parseopts: command not found
/usr/bin/pacman-key: line 31: /usr/share/makepkg/util/message.sh: No such file or directory
/usr/bin/pacman-key: line 32: /usr/share/makepkg/util/parseopts.sh: No such file or directory
/usr/bin/pacman-key: line 33: /usr/share/makepkg/utils_fixed_path.sh: No such file or directory
/usr/bin/pacman-key: line 625: parseopts: command not found
/usr/bin/pacman-key: line 31: /usr/share/makepkg/util/message.sh: No such file or directory
/usr/bin/pacman-key: line 32: /usr/share/makepkg/util/parseopts.sh: No such file or directory
/usr/bin/pacman-key: line 33: /usr/share/makepkg/utils_fixed_path.sh: No such file or directory
/usr/bin/pacman-key: line 625: parseopts: command not found
MSYS2 seems to be properly installed
Install MSYS2 and MINGW development toolchain ...
> pacman -S --needed --noconfirm autoconf autogen automake-wrapper diffutils file gawk grep libtool m4 make patch sed texinfo texinfo-tex wget mingw-w64-ucrt-x86_64-binutils mingw-w64-ucrt-x86_64-crt-git mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-gcc-libs mingw-w64-ucrt-x86_64-headers-git mingw-w64-ucrt-x86_64-libmangle-git mingw-w64-ucrt-x86_64-libwinpthread-git mingw-w64-ucrt-x86_64-make mingw-w64-ucrt-x86_64-tools-git mingw-w64-ucrt-x86_64-winpthreads-git pkgconf mingw-w64-ucrt-x86_64-pkgconf
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not find or read directory
Install MSYS2 and MINGW development toolchain failed
Installation failed: pacman failed
1 - MSYS2 base installation
2 - MSYS2 system update (optional)
3 - MSYS2 and MINGW development toolchain
Which components shall be installed? If unsure press ENTER []
hi @synthead - did this get resolved for you? Unfortunately, I did not have the same experience, so I can't relate but I'm wondering if this was resolved by reinstallation or something. That said, in my case, it was installed during the installation directly as I documented here: https://notepad.onghu.com/2023/ruby3.2-windows-day0-install-hello_world/
What problems are you experiencing?
ridk install
fails due to an issue withpacman-key
not finding CLI tools and scripts needed to generate local keys. This is with Ruby 3.2.2-1 (x64).Steps to reproduce
ridk install
.What's the output from
ridk version
?The text was updated successfully, but these errors were encountered: