Msys2-packages: Current installer/installation instructions are broken

Created on 12 Jun 2016  路  9Comments  路  Source: msys2/MSYS2-packages

Following the instructions at http://msys2.github.io/ on a clean Windows 10 machine, I got the following error after completing Step 6 and trying to bring up a MSYS2 window via the Start menu:

'C:\msys64\msys2_shell.bat' is not recognized as an internal or external command,
operable program or batch file.

I believe this is likely caused by commit 2c4e6d7289 and that a new binary installer needs to be made to fix this.

Most helpful comment

@dimkanewtown Please see the warning printed by the filesystem package when it is upgraded. This warning is printed by pacman when you upgrade the filesystem package. This warning is also here:

https://github.com/Alexpux/MSYS2-packages/blob/master/filesystem/filesystem.install

Here is the text of the warning:

  WARNING: the shell starting scripts have been unified. Please update your
  shortcuts to the following targets, otherwise they will STOP WORKING:

      * MSYS2_ROOT\msys2_shell.cmd -mingw32
      * MSYS2_ROOT\msys2_shell.cmd -mingw64
      * MSYS2_ROOT\msys2_shell.cmd -msys\n\n'

All 9 comments

Steps to reproduce.

  1. Download http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20160205.exe
  2. Run previously downloaded file
  3. Run pacman -Syuu
  4. Profit?

Any workaround available?

@dimkanewtown Please see the warning printed by the filesystem package when it is upgraded. This warning is printed by pacman when you upgrade the filesystem package. This warning is also here:

https://github.com/Alexpux/MSYS2-packages/blob/master/filesystem/filesystem.install

Here is the text of the warning:

  WARNING: the shell starting scripts have been unified. Please update your
  shortcuts to the following targets, otherwise they will STOP WORKING:

      * MSYS2_ROOT\msys2_shell.cmd -mingw32
      * MSYS2_ROOT\msys2_shell.cmd -mingw64
      * MSYS2_ROOT\msys2_shell.cmd -msys\n\n'

Yep, should've been reading onscreen messages more closely. Thanks!

Would you like to try new installer https://msys2.github.io?

I tried out the new installer and it completely fixes this issue. Closing ticket. Thanks!

Unfortunately new installer introduces new issue.
You have to manually create mingw32 and mingw64 dirs in /msys64 or add --force to pacman when installing first i686 or x86_64 mingw package.

@mati865, is it due to this issue? elieux/msys2-launcher#1

@elieux, @Alexpux probably fixed it already https://github.com/Alexpux/MSYS2-packages/commit/730cd21da93909393fadaba51b05150e0f672e1b but he cannot release new installer until he returns.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cybe picture cybe  路  3Comments

linux2014linux picture linux2014linux  路  3Comments

Arnold1 picture Arnold1  路  8Comments

EdVanDance picture EdVanDance  路  6Comments

OortJacek picture OortJacek  路  5Comments