devkitPro / installer

383 stars 40 forks source link

After installation 3.0.3, starting Msys2 prompts a message stating that the bash file is missing. #56

Closed ZMYCat closed 8 months ago

ZMYCat commented 8 months ago

Bug Report After installing devkitProUpdater-3.0.3.exe, when I try to launch Msys2 from the devkitPro directory, it shows a message that says "bash file not found." My computer doesn't have antivirus software installed, and Windows Security Center is already disabled. I've checked for any file interceptions, but found none. image

How can the issue be reproduced? After running the installation file for version 3.0.3, attempting to launch the Msys2 included with devkitPro results in the mentioned error.

Environment? Using Windows 11 22H2(22621.3007) I have tried installing it on another computer as well as on a virtual machine running Windows 10, but the same issue persists when attempting to launch Msys2 included with devkitPro.

Additional context? The downloaded version of Msys2 is msys-2.10.0.1.7z. I attempted to copy the bash.exe file from the compressed folder into the devkitPro's Mysys2/usr/bin/ directory. While Msys2 can now start, I still cannot utilize the devkitPro environment.

cuibonobo commented 8 months ago

Same issue. I also don't have interventions from my virus scanner. The bash.exe file seems to disappear in the middle of the install.

DacoTaco commented 8 months ago

quick question for @ZMYCat & @cuibonobo, what path was this installed to? i want to try and reproduce this in a VM don't forget to censor user names in the path before posting etc so you don't dox yourself hehe

ZMYCat commented 8 months ago

quick question for @ZMYCat & @cuibonobo, what path was this installed to? i want to try and reproduce this in a VM don't forget to censor user names in the path before posting etc so you don't dox yourself hehe

In my past few installations, I've used the default installation path provided by the installation software. image : )

DacoTaco commented 8 months ago

okido! ill test this later on my W11 23H2 installation. it could have been that any space in the path could have resulted in some errors, but thats not the case !

DacoTaco commented 8 months ago

@ZMYCat : the issue has been resolved. please uninstall everything, delete any msys*.7z files you can find or have as the msys archive needed to be rebuild. it installed fine on my system after that!

thanks for reporting this, and please let us know if it now works to install :)

WinterMute commented 8 months ago

My computer doesn't have antivirus software installed, and Windows Security Center is already disabled.

This is a terrible idea, I really recommend at least having defender enabled although with scanning disabled for the devkitPro folder because it majorly impacts on compilation times.

It may also be worth rebooting after uninstalling & deleting files then making sure the devkitPro folder has been fully removed. Sometimes stray msys2 processes get left behind which prevent everything being removed properly.

cuibonobo commented 8 months ago

@DacoTaco Just confirmed that it works. Uninstalled devKitPro, rebooted, and reinstalled and now Msys2 is able to start up properly.