You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Version of chef-client in your environment: 12, 12.22.3]
Platform Details
[AWS, msys2-tools64-windows-2012r2 ]
Scenario:
[Install mingw]
Steps to Reproduce:
[I do an kitchne create, kitchen converge, Logs are attached]
Expected Result:
[Mingw should be installed]
Actual Result:
[It fails with the following message: :: msys2-runtime and catgets are in conflict. Remove catgets? [y/N]
:: msys2-runtime and catgets are in conflict
See this discussion: https://github.com/msys2/MSYS2-packages/issues/1141
So I make the changes shown in the attached git diff (without the commenting #G):
diff --git a/resources/msys2_package.rb b/resources/msys2_package.rb
index c5186b3..cdfc6fb 100644
--- a/resources/msys2_package.rb
+++ b/resources/msys2_package.rb
@@ -102,6 +102,8 @@ action_class do
# to globally modify user first time setup, edit /etc/skel or add
# "post-setup" steps to /etc/post-install/
# The first-time init shell must be restarted and cannot be reused.
+#G msys2_exec('Cleanup', 'pacman -R catgets --noconfirm')
+#G msys2_exec('Cleanup', 'pacman -R libcatgets --noconfirm')
msys2_exec('msys2 first time init', 'exit') unless ::File.exist?(pacman_key_dir)
# Update pacman and msys base packages.
and that fixes it.
Since I am not familiar with the pacman I assume this code might need to be configured at an option. ] msys2-tools64-windows-2012r2.log
The text was updated successfully, but these errors were encountered:
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
Cookbook version
[commit 9bdcf17 Fri Feb 16 17:21:41 2018 -0800]
Chef-client version
[Version of chef-client in your environment: 12, 12.22.3]
Platform Details
[AWS, msys2-tools64-windows-2012r2 ]
Scenario:
[Install mingw]
Steps to Reproduce:
[I do an kitchne create, kitchen converge, Logs are attached]
Expected Result:
[Mingw should be installed]
Actual Result:
[It fails with the following message: :: msys2-runtime and catgets are in conflict. Remove catgets? [y/N]
:: msys2-runtime and catgets are in conflict
See this discussion: https://github.com/msys2/MSYS2-packages/issues/1141
So I make the changes shown in the attached git diff (without the commenting #G):
diff --git a/resources/msys2_package.rb b/resources/msys2_package.rb
index c5186b3..cdfc6fb 100644
--- a/resources/msys2_package.rb
+++ b/resources/msys2_package.rb
@@ -102,6 +102,8 @@ action_class do
# to globally modify user first time setup, edit /etc/skel or add
# "post-setup" steps to /etc/post-install/
# The first-time init shell must be restarted and cannot be reused.
+#G msys2_exec('Cleanup', 'pacman -R catgets --noconfirm')
+#G msys2_exec('Cleanup', 'pacman -R libcatgets --noconfirm')
msys2_exec('msys2 first time init', 'exit') unless ::File.exist?(pacman_key_dir)
and that fixes it.
Since I am not familiar with the pacman I assume this code might need to be configured at an option. ]
msys2-tools64-windows-2012r2.log
The text was updated successfully, but these errors were encountered: