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

gem install berkshelf: Could not find a valid gem 'chef-utils' (= 17.10.95) (required by 'berkshelf' (>= 0)) in any repository #24

Open
gmahe opened this issue Nov 29, 2023 · 2 comments

Comments

@gmahe
Copy link

gmahe commented Nov 29, 2023

Description

gem install berkshelf failing because Could not find a valid gem 'chef-utils' (= 17.10.95) (required by 'berkshelf' (>= 0)) in any repository

Berkshelf Version

Platform Version

Ubuntu 22.04.1 LTS (5.15.0-1039-aws)
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]
gem 3.3.5

Replication Case

gem install berkshelf

Berks Output

gem install berkshelf
Could not find a valid gem 'chef-utils' (= 17.10.95) (required by 'berkshelf' (>= 0)) in any repository

gem install berkshelf -v 8.0.9
ERROR:  Could not find a valid gem 'chef-utils' (= 17.10.95) (required by 'berkshelf' (= 8.0.9)) in any repository
ERROR:  Possible alternatives: chef-utils

Looks like latest version on 17 is 17.10.68
https://rubygems.org/gems/chef-utils/versions

gem list chef-utils --remote --all

*** REMOTE GEMS ***

chef-utils (18.3.0, 18.2.7, 18.2.5, 18.1.29, 18.1.0, 18.0.185, 18.0.172, 18.0.169, 18.0.161, 17.10.68, 17.10.29, 17.10.25, 17.10.19, 17.10.0, 17.9.52, 17.9.46, 17.9.42, 17.9.26, 17.9.18, 17.8.25, 17.7.29, 17.7.22, 17.6.18, 17.6.15, 17.5.22, 17.4.38, 17.4.25, 17.3.48, 17.2.29, 17.1.35, 17.0.242, 16.18.30, 16.18.0, 16.17.51, 16.17.39, 16.17.18, 16.17.4, 16.16.13, 16.16.7, 16.15.22, 16.14.1, 16.13.16, 16.12.3, 16.11.7, 16.10.17, 16.10.8, 16.9.32, 16.9.29, 16.9.20, 16.9.17, 16.9.16, 16.8.14, 16.8.9, 16.7.61, 16.6.14, 16.5.77, 16.5.64, 16.4.41, 16.4.38, 16.4.35, 16.3.45, 16.3.38, 16.2.73, 16.2.50, 16.2.44, 16.1.16, 16.1.0, 16.0.287, 16.0.275, 16.0.257, 15.17.4, 15.16.7, 15.16.4, 15.16.2, 15.15.0, 15.14.0, 15.13.8, 15.12.22, 15.11.8, 15.11.3, 15.10.12, 15.9.17, 15.8.23, 15.7.32, 15.7.31, 15.7.30, 15.6.10, 15.5.17, 15.5.16, 15.5.15, 15.5.9, 0.0.1
@gmahe
Copy link
Author

gmahe commented Dec 13, 2023

in the meantime you can install berk via chef-workstation package.

wget https://packages.chef.io/files/stable/chef-workstation/23.7.1042/ubuntu/22.04/chef-workstation_23.7.1042-1_amd64.deb
sudo dpkg -i chef-workstation_23.7.1042-1_amd64.deb

@tpowell-progress
Copy link
Collaborator

@gmahe are you able to reproduce this still? I'm in here trying to clean up a bit of berkshelf failures and wanted to know if I should see if it's breaking still

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants