Metasploit crashed after upgrade

19,798

I had the same problem, the following fixed it:

sudo gem install bundler -v 2.2.4

sudo msfdb reinit
sudo msfconsole

Just be aware that the bundler version may have updated since this was posted and therefore may need to be changed. Check what version you're currently running before making these changes.

https://github.com/rapid7/metasploit-framework/issues/11597

Share:
19,798
unai abrisketa sanchez
Author by

unai abrisketa sanchez

Updated on June 27, 2022

Comments

  • unai abrisketa sanchez
    unai abrisketa sanchez almost 2 years

    I have recently upgraded metasploit framework and after doing it, when I try to launch it I get the next error:

    msfconsole
    Unable to find a spec satisfying metasploit-framework (>= 0) in the set. Perhaps the lockfile is corrupted?
    Run bundle install to install missing gems.
    

    I have unistalled it and reinstall but the problem continues. Any suggestion?