Menu

msys2-runtime fails to update

Anonymous
2015-03-16
2015-03-16
  • Anonymous

    Anonymous - 2015-03-16

    After issuing the following command:
    pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime

    Some packages got updated but msys2-runtime fails:

    msys2-runtime-devel: requires msys2-runtime=2.0.16506.ec7f957

    The output of pacman -Ss msys2-runtime is

    msys/msys2-runtime 2.1.0.16259.2aeb3f1-1 (base) [installed: 2.0.16506.ec7f957-1]
    Posix emulation engine for Windows
    msys/msys2-runtime-devel 2.1.0.16259.2aeb3f1-1 (MSYS2-devel) [installed: 2.0.16506.ec7f957-1]
    MSYS2 headers and libraries

    I don't have any ideas how to solve this.

     
  • Matthieu Vachon

    Matthieu Vachon - 2015-03-16

    It simply because you have currently msys2-runtime-devel installed but are requesting to only update msys2-runtime. This would bump it to the new version while the devel package, since not updated, wants the old version.

    Simple fix, add msys2-runtime-devel to the list of packages to update:

    pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime msys2-runtime-devel
    

    I think there should be a note on the upgrade page about this common pitfalls.

    Regards,
    Matt

     
  • Anonymous

    Anonymous - 2015-03-16

    Hi Matt,

    Thanks for your answer. That did the trick.

    Did I mention already that I love MSYS2?

     
  • Matthieu Vachon

    Matthieu Vachon - 2015-03-16

    Excellent :) And did I mention that you're not alone since I do love it also!