metasploit更新后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.
root@kali:~# bundle install

报错:

root@kali:~# bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
The Gemfile specifies no dependencies
Bundle complete! 0 Gemfile dependencies, 1 gem now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
解决办法:

gem update --system

posted @ 2021-02-24 13:04  H4ck3rX  阅读(310)  评论(0)    收藏  举报