Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Some main commands not found in MSYS2 after update-core

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 or update-core, the terminal says bash: 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.

like image 780
dixhom Avatar asked Jan 15 '16 20:01

dixhom


3 Answers

update-core is deprecated; its functionality is now handled by pacman; run pacman -Syuu.

like image 74
Adriaan Joubert Avatar answered Oct 13 '22 13:10

Adriaan Joubert


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.

like image 20
christophe3d Avatar answered Oct 13 '22 13:10

christophe3d


For me running: pacman -S openssh solved it (found it here)

like image 1
hashark Avatar answered Oct 13 '22 13:10

hashark