setup-msys2 icon indicating copy to clipboard operation
setup-msys2 copied to clipboard

Winget Update problem

Open bfcns opened this issue 1 year ago • 8 comments

Can you please clarify this: https://github.com/microsoft/winget-pkgs/issues/127282

bfcns avatar Jan 18 '24 14:01 bfcns

AFAIK winget isn't officially supported from MSYS2 side

ognevny avatar Jan 18 '24 15:01 ognevny

That's not important. The problem is when MSYS2 is installed once, do you ever need to install it again from the installer for an upgrade, or pacman -Syu is enough?

This also should be clarified in documentation, if it wasn't already.

bfcns avatar Jan 18 '24 15:01 bfcns

do you ever need to install it again from the installer for an upgrade, or pacman -Syu is enough

pacman -Syu is enough. The idea is true for other rolling release projects also.

Biswa96 avatar Jan 18 '24 15:01 Biswa96

This confirms winget or any other windows package manager is unnecessary for this package.

bfcns avatar Jan 18 '24 16:01 bfcns

We have it documented here: https://www.msys2.org/docs/updating/ If there are things which should be made more clear or highlighted more, let us know.

lazka avatar Jan 18 '24 17:01 lazka

We have it documented here: https://www.msys2.org/docs/updating/ If there are things which should be made more clear or highlighted more, let us know.

Does pacman -Syuu also upgrade the exe terminal files directly under C:\msys64, like msys2.exe etc?

bfcns avatar Jan 18 '24 18:01 bfcns

Yes, everything except the start menu files pointing to them.

lazka avatar Jan 18 '24 20:01 lazka

Does pacman -Syuu also upgrade the exe terminal files directly under C:\msys64, like msys2.exe etc?

msys2.exe etc. are part of msys2-launcher package. So, those files will be updated like other packages when a newer version is available. Though, msys2-launchers are small programs and hardly changed.

Biswa96 avatar Jan 19 '24 04:01 Biswa96

I assume there is nothing else to do here. If not let us know.

lazka avatar Jul 28 '24 10:07 lazka