Skip to content
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

Installation of version 17.9.0 fails with unavailable dependency #1771

Open
balasankarc opened this issue Oct 21, 2022 · 5 comments
Open

Installation of version 17.9.0 fails with unavailable dependency #1771

balasankarc opened this issue Oct 21, 2022 · 5 comments
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected.

Comments

@balasankarc
Copy link

Description

When trying to install version 17.9.0, Rubygems resolves the dependency chef-utils to a non-existent version 17.10.26.

To reproduce, run the following command

$ gem install ohai --version 17.9.0                                                                                                              
ERROR:  Could not find a valid gem 'chef-utils' (= 17.10.26) (required by 'ohai' (= 17.9.0)) in any repository
ERROR:  Possible alternatives: chef-utils
@balasankarc balasankarc added Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected. labels Oct 21, 2022
@balasankarc
Copy link
Author

Seems in chef/chef@c2c4e6e, version 17.10.26 of chef-utils was cut, but can't be found in Rubygems - https://rubygems.org/gems/chef-utils/versions

@balasankarc
Copy link
Author

This issue caused master branch builds (which attempts to install Ohai 17.9.0) at GItLab to fail. Issue being tracked at https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/7267.

@balasankarc
Copy link
Author

/cc @vkarve-chef

@twk3
Copy link

twk3 commented Oct 21, 2022

This appears to be because chef-config is up as 17.10.26 and is depending on a version of chef-utils that is not present in rubygems.

@gracinet
Copy link

I'm affected by this, too.

Preinstalling chef-config 17.10.19 (looks to be the highest before 17.10.26 on rubygems) worked for me to unblock the installation of ohai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

3 participants