Giter Site home page Giter Site logo

Comments (8)

mmicko avatar mmicko commented on August 20, 2024

pacman -Sy
pacman -S bash pacman msys2-runtime --noconfirm --needed
pacman -Su --noconfirm

We use these steps when doing upgrades. In cas something is installed in 2nd step, you need to restart msys2 shell

from mingw-distro.

StephanTLavavej avatar StephanTLavavej commented on August 20, 2024

Yeah, but when you restart the shell, is pacman.exe still running? This is new behavior (it didn't previously happen).

from mingw-distro.

StephanTLavavej avatar StephanTLavavej commented on August 20, 2024

I just checked, and --noconfirm causes the initial yes/no prompt to be skipped (which is nice) but it also causes the final

warning: terminate MSYS2 without returning to shell and check for updates again
warning: for example close your terminal window instead of calling exit

to not wait for input. Instead, it returns to the shell, which seems unwise. pacman.exe terminates and nothing appears to go wrong after red-Xing the window, but I don't think I want to directly disobey MSYS2's warning, and their wiki doesn't suggest --noconfirm.

from mingw-distro.

StephanTLavavej avatar StephanTLavavej commented on August 20, 2024

I haven't seen this happen with the 20161025 build, but maybe that's because pacman hasn't been updated since then.

from mingw-distro.

StephanTLavavej avatar StephanTLavavej commented on August 20, 2024

Right now, it appears that a gibberish-named process needs to be terminated, which is actually worse than needing to terminate pacman.exe.

from mingw-distro.

StephanTLavavej avatar StephanTLavavej commented on August 20, 2024

Right now, I'm not observing either pacman.exe or the gibberish-named process lingering. However, the "Terminal" hangs after the first invocation of pacman -Syuu. After everything is updated, Task Manager shows "MSYS2 terminal" running, which leads me to suspect that the terminal is being patched and that's why it's hanging.

from mingw-distro.

StephanTLavavej avatar StephanTLavavej commented on August 20, 2024

With the 20170918 build, the lingering pacman.exe and hanging Terminal are gone, but the gibberish-named process is back.

from mingw-distro.

StephanTLavavej avatar StephanTLavavej commented on August 20, 2024

The 2021-07-25 build appears to behave properly.

from mingw-distro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.