Uninstall Metasploit problem

Solution 1:

I also had some problems with my Metasploit on 12.10.

I, by mistake of course, deleted my /opt/metasploit-4.5.0 before I found out it had an uninstaller inside. What I did to reinstall was search my file system for metasploit. Through root terminal (sudo su) I went and rmed all of the files. Then I ran the installer with sudo ./YOUR_DIRECTORY_HERE/metasploit-latest-linux-installel.run.

To succesfully reinstall Metasploit, be sure to remove ALL of the old Metasploit files in /etc/init.d and /etc/rc0-6.d.

Solution 2:

You will have to navigate to the directory /opt/metasploit-4.5.0.
Open a terminal window ( ctrl+alt+T) and type cd /opt/metasploit-4.5.0 .
Next, run ./uninstall in your Terminal window.
A uninstall window should pop up

Solution 3:

You need to run ./uninstall with root user.

cd /opt/metasploit    
sudo ./uninstall

Uninstall wizard will pop up. Best regards.