WPScan dependencies error after updating ParrotOS

– Problem Description –
After a fresh install on VM WPScan works without any problems. After a sudo apt update && sudo apt full-upgrade WPScan crashes with the errorcode below.
The Reason is one specific Package:
ruby-nokogiri/parrot-backports 1.14.3+dfsg-1~fto11+1 amd64 [upgradable from: 1.13.10+dfsg-2~fto11+1]
This Version is probably to high
Solution:
i installed the Version 1.13.10
sudo gem install nokogiri -v 1.13.10


  • Parrot version in use
    VERSION_ID=“5.3”
    VERSION=“5.3 (Electro Ara)”
    VERSION_CODENAME=ara

  • Logs/Terminal output
    ┌─[codenamev@parrot]─[~]
    └──╼ $apt list --upgradable
    Listing… Done
    —SNIP—
    ruby-activemodel/parrot,parrot,parrot-backports 2:6.1.7.3+dfsg-1~bpo11+1 all [upgradable from: 2:6.1.7+dfsg-3~bpo11+2]
    ruby-activerecord/parrot,parrot,parrot-backports 2:6.1.7.3+dfsg-1~bpo11+1 all [upgradable from: 2:6.1.7+dfsg-3~bpo11+2]
    ruby-activesupport/parrot,parrot,parrot-backports 2:6.1.7.3+dfsg-1~bpo11+1 all [upgradable from: 2:6.1.7+dfsg-3~bpo11+2]
    ruby-nokogiri/parrot-backports 1.14.3+dfsg-1~fto11+1 amd64 [upgradable from: 1.13.10+dfsg-2~fto11+1]
    —SNIP—

┌─[codenamev@parrot]─[~]
└──╼ $wpscan
Traceback (most recent call last):
12: from /usr/bin/wpscan:23:in <main>' 11: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in activate_bin_path’
10: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in synchronize' 9: from /usr/lib/ruby/vendor_ruby/rubygems.rb:302:in block in activate_bin_path’
8: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1370:in activate' 7: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in activate_dependencies’
6: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in each' 5: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1406:in block in activate_dependencies’
4: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1370:in activate' 3: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in activate_dependencies’
2: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in each' 1: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1400:in block in activate_dependencies’
/usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:309:in to_specs': Could not find 'nokogiri' (>= 1.11.4, < 1.14.0) - did find: [nokogiri-1.14.3] (Gem::MissingSpecVersionError) Checked in 'GEM_PATH=/home/codenamev/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0' , execute gem envfor more information 12: from /usr/bin/wpscan:23:in
11: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in activate_bin_path' 10: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in synchronize’
9: from /usr/lib/ruby/vendor_ruby/rubygems.rb:302:in block in activate_bin_path' 8: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1370:in activate’
7: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in activate_dependencies' 6: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in each’
5: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1406:in block in activate_dependencies' 4: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1370:in activate’
3: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in activate_dependencies' 2: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in each’
1: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1399:in block in activate_dependencies' /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1402:in rescue in block in activate_dependencies’: Could not find ‘nokogiri’ (>= 1.11.4, < 1.14.0) among 157 total gem(s) (Gem::MissingSpecError)
Checked in ‘GEM_PATH=/home/codenamev/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0’ at: /usr/share/rubygems-integration/all/specifications/cms_scanner-0.13.7.gemspec, execute gem env for more information

┌─[✗]─[codenamev@parrot]─[~]
└──╼ $sudo gem install nokogiri -v 1.13.10
Fetching nokogiri-1.13.10-x86_64-linux.gem
Successfully installed nokogiri-1.13.10-x86_64-linux
Parsing documentation for nokogiri-1.13.10-x86_64-linux
Installing ri documentation for nokogiri-1.13.10-x86_64-linux
Done installing documentation for nokogiri after 1 seconds
1 gem installed

┌─[codenamev@parrot]─[~]
└──╼ $wpscan
One of the following options is required: --url, --update, --help, --hh, --version

Please use --help/-h for the list of available options.

I ran into the same issue, just use “sudo gem install wpscan”, it’ll work again.