Some main commands not found in MSYS2 after update-core
Solution 1
update-core
is deprecated; its functionality is now handled by pacman; run pacman -Syuu
.
Solution 2
Had the problem twice with two different Win10 VMs in a matter of days. For me, the manifestation was "diff: command not found". No obvious change in $PATH. C:\msys64\usr\bin no longer has diff in it.
Solution 3
For me running: pacman -S openssh
solved it (found it here)
dixhom
Updated on June 12, 2022Comments
-
dixhom over 1 year
Issue
Some main commands not found in MSYS2 after
update-core
.Environment
- Windows 8.1 64bit
- msys2-x86_64-20150916
Detail
I introduced MSYS2 to my computer and performed update-core. However, after the update, when I type
pacman
orupdate-core
, the terminal saysbash: pacman: command not found
. I rebooted MSYS2 and tried the same process but the result was the same. I re-installed MSYS2 and tried the same process but the result was the same. I'd like to get things right but don't know how.Any suggestion would be appreciated. Thanks.