chef / berkshelf

A Chef Cookbook manager
Other
1 stars 3 forks source link

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 9 months ago

gmahe commented 9 months ago

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 commented 9 months ago

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 commented 1 month ago

@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