metasploit | install | maintenance | discovery
apt update apt full-upgrade apt autoremove --purge #ruby -v gem update --system gem install bundler cd /opt/metasploit-framework/ git pull bundle update --bundler bundle exec gem --version bundle install #gem install bundler:1.17.3 yard config --gem-install-yri
and finally (may be redundant with the above)
echo $USER@$HOSTNAME git config --global user.name "$USER@$HOSTNAME" git config --global user.email "$USER@$HOSTNAME" msfupdate chown -R msf:users /opt/metasploit-framework* /home/msf/ su - msf
Update to the Metasploit Updates and msfupdate https://blog.rapid7.com/2013/01/17/metasploit-updates-and-msfupdate/