Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Update broke vagrant
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gjy0724
Apprentice
Apprentice


Joined: 11 Jun 2005
Posts: 165
Location: Lock Haven, Pennsylvania

PostPosted: Fri Sep 24, 2021 3:12 pm    Post subject: [SOLVED] Update broke vagrant Reply with quote

Last night I updated one of my systems that I run vagrant on. This morning when I tried to run the app, I got the following error.

Code:
$ vagrant                                                                                                            1 < 10:42:28
/usr/lib64/ruby/site_ruby/2.6.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'bcrypt_pbkdf' (~> 1.0.0) - did find: [bcrypt_pbkdf-1.1.0] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/vagrant/.gem/ruby/2.6.0:/usr/lib64/ruby/gems/2.6.0:/usr/local/lib64/ruby/gems/2.6.0', execute `gem env` for more information
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1446:in `block in activate_dependencies'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1435:in `each'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1435:in `activate_dependencies'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1417:in `activate'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:224:in `rescue in try_activate'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:217:in `try_activate'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:123:in `rescue in require'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in `require'
   from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.9/bin/vagrant:88:in `<main>'
/usr/lib64/ruby/site_ruby/2.6.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'bcrypt_pbkdf' (~> 1.0.0) - did find: [bcrypt_pbkdf-1.1.0] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/vagrant/.gem/ruby/2.6.0:/usr/lib64/ruby/gems/2.6.0:/usr/local/lib64/ruby/gems/2.6.0', execute `gem env` for more information
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1446:in `block in activate_dependencies'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1435:in `each'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1435:in `activate_dependencies'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1417:in `activate'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:218:in `try_activate'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:123:in `rescue in require'
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in `require'
   from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.9/bin/vagrant:88:in `<main>'
/usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- vagrant (LoadError)
   from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
   from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.9/bin/vagrant:88:in `<main>'


After some troubleshooting and determining that the bcrypt_pbkdf package was updated (from 1.0.0 to1.1.0-r1) , I decided to rollback, block the problem package, and re-update, which re-installed 1.0.0...thus solving my problem as vagrant is working again.

I am not sure if this is the right solution but I thought would at least post it hear. Let me know if I should create a bug for this build and I will do so, I see that there is a bug request to make the package stable (https://bugs.gentoo.org/813789).

I don't know if the issue is specifically with this package or another that has 1.0.0 of this package hardcoded.


Last edited by gjy0724 on Fri Sep 24, 2021 4:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Fri Sep 24, 2021 3:44 pm    Post subject: Reply with quote

See bug #810715
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gjy0724
Apprentice
Apprentice


Joined: 11 Jun 2005
Posts: 165
Location: Lock Haven, Pennsylvania

PostPosted: Fri Sep 24, 2021 4:00 pm    Post subject: Reply with quote

Thank you,

It took me a while to figure out why I didn't see that bug listed when I searched for the package, but I searched for bcrypt_pbkdf instead of just bcrypt...hence I only received the ticket to stabilize 1.1.0-r1. So my solution was correct for now.
Back to top
View user's profile Send private message
web.user
n00b
n00b


Joined: 14 May 2021
Posts: 17

PostPosted: Sat Sep 25, 2021 1:47 pm    Post subject: Reply with quote

I solved it by running this:
Code:
gem install bcrypt_pbkdf -v 1.0.0

_________________
Check out ASN lookup tool to gather IP address information.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Sat Sep 25, 2021 3:40 pm    Post subject: Reply with quote

Why install this version with gem when you can install from official tree?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
web.user
n00b
n00b


Joined: 14 May 2021
Posts: 17

PostPosted: Sat Sep 25, 2021 5:13 pm    Post subject: Reply with quote

Oh I forgot about this, sure it has to be this:
Code:
sudo emerge =dev-ruby/bcrypt_pbkdf-1.0.0

_________________
Check out ASN lookup tool to gather IP address information.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum