New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error during msys2_update #6
Comments
Did you already have the recipe deployed on the machine that's attempting to update? Or is this occurring on the initial run? Edit: Looked a little more into it. I guess your machine is in some sort of invalid state from Pacman's perspective. You can just run a force update ( |
It's running from scratch on a fresh machine each time and started failing around a week ago:
We disabled msys2_execute "update MSYS2 with force" do
command ["pacman ", "-Syyuu", "--noconfirm", "--noprogressbar", "--force"]
end Not sure why it suddenly started failing as I'm pretty sure there were no changes on our end |
Yeah, I'm guessing it's a broken package on the MSYS2 end of things. I've personally had to fix a package upgrade myself with MSYS2, so it unfortunately isn't terribly shocking. How long have y'all been running this cookbook before the error cropped up? |
This is still happening FWIW. Changing https://github.com/brholtkamp/msys2-cookbook/blob/master/resources/update.rb#L11 to something like we're doing in our own recipe, e.g. msys2_execute 'update MSYS2' do
command ["pacman ", "-Syyuu", "--noconfirm", "--noprogressbar", "--force", "--ask 20"]
end would probably fix it, but I'm not sure what the implications of those different options are, especially the |
I honestly have no clue if |
I get the following error when running default recipe, with default attributes:
I believe the root cause is the same as mentioned in msys2/MSYS2-packages#1024, but after reading that issue, I'm none the wiser as to what a "fix", or workaround, could be.
Any ideas?
The text was updated successfully, but these errors were encountered: