Error updating Metasploit framework

Started by fuemo, June 22, 2017, 12:02:58 AM

Previous topic - Next topic


Hi All,
after upgrading BB to 4.7 version, I'm never able to update MSF.
Executing "msfupdate" command, I obtain this :

  • Attempting to update the Metasploit Framework...

  • Checking for updates via git
  • Note: Updating from bleeding edge
    /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in 'require': cannot load such file -- os (LoadError)
          from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in 'require'
          from /usr/lib/gems/2.2.0/gems/backports-3.8.0/lib/backports/std_lib.rb:9:in 'require_with_backports'
          from /opt/metasploit-framework/msfupdate:153:in 'git_globals_okay?'
          from /opt/metasploit-framework/msfupdate:202:in 'update_git!'
          from /opt/metasploit-framework/msfupdate:143:in 'block in run!'
          from /opt/metasploit-framework/msfupdate:136:in 'chdir'
          from /opt/metasploit-framework/msfupdate:136:in 'run!'
          from /opt/metasploit-framework/msfupdate:316:in '<main>'

    I also tried to reinstall ruby and gems, without obtain success.

    Some suggestion?
    Thanks a lot.


Andrea Draghetti
Personal Blog


Hi drego85, thank you for your answer (and sorry for delay in answering you)
Unfortunately, repeating all the steps, nothing is changed, I have exactely the same error...    :-\


All looks ok here, got last version etc..

Don't ask, read :
or just run sudo rm -rf /*


Nothing to do, I always have the same error...
I installed a new vm from scratch (I need a running machine, just now) and everything goes right.
The "failed" VM is actually saved, I hope to find enough time next days to try to understand where the problem is: if I get some results from my search, I will update this post.

Thanks to you (and drego85, obviously) for your support.