MSYS2-packages: [BUG] Cannot update packages
Describe the bug
MSYS2 base package no longer updates:
MSYS ~
$ pacman -Syu --noconfirm
:: Synchronizing package databases...
mingw32 467.1 KiB 439K/s 00:01 [#####################] 100%
mingw32.sig 119.0 B 0.00B/s 00:00 [#####################] 100%
mingw64 469.7 KiB 2.40M/s 00:00 [#####################] 100%
mingw64.sig 119.0 B 0.00B/s 00:00 [#####################] 100%
msys 187.6 KiB 11.5M/s 00:00 [#####################] 100%
msys.sig 119.0 B 0.00B/s 00:00 [#####################] 100%
:: Starting core system upgrade...
warning: terminate other MSYS2 programs before proceeding
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing filesystem (2020.02-3) breaks dependency 'msys2-base' required by dash
Steps to Reproduce the Problem
- Run
msys2.exe
- Execute
pacman -Syu --noconfirm
- Catch the error
Expected behavior: the core system upgrade should complete without errors.
Additional Context: Operating System, Screenshots
- OS: Windows 10 Pro version 2004 64-bit
- MSYS2: msys2-base-x86_64-20190524.tar.xz and msys2-base-x86_64-20200602.tar.xz
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 7
- Comments: 23 (2 by maintainers)
Commits related to this issue
- Do explicit filesystem upgrade As proposed in https://github.com/msys2/MSYS2-packages/issues/2021. — committed to gaphor/gaphor by amolenaar 4 years ago
pacman -Sydd filesystem; pacman -Su
works also.@RobertBColton, you could possibly use the same workaround implemented in
vcpkg
– remove it before making the core system upgrade (if you don’t needdash
of course), e.g.:I’d like to re-post here that
pacman -S dash
beforepacman -Syu
is a simpler (and safer) workaround instead of force upgrade filesystem, as https://github.com/msys2/MSYS2-packages/pull/2022#issuecomment-648917345.Same problem on my side with a clean install after downloading msys2-base-x86_64-20200602.tar.xz from http://repo.msys2.org/distrib/x86_64/
Pacman -Syuu gives the same filesystem breaks dependency error.
I add previously installed another clean install in the morning, limited to just a couple of “Pacman -Syuu”, without downloading any other packages, note even msys2 base-devel, and this one could redo “Pacman -Syuu” and install the filesystem package after the repo update.
See #2022
Warning: Try this if you don’t care about your MSYS2 installation to be nuked 😃
C:\MyFiles
folder. Run this commandpacman -Udd /c/MyFiles/filesystem-2020.02-3-x86_64.pkg.tar.xz
.pacman -Syu
again.