I had this issue where I installed multiple versions of Firefox and eventually due to some mistakes It all got messed up.
In order to make it up and running, I did the following.
Find any package installed on the system with the name firefox.
dpkg --list | grep firefox
I got 3 different names because I had 3 different versions:
Then I uninstalled each one of them manually in this way. It'll remove firefox completely from the ubuntu machine.
sudo apt-get --purge autoremove firefox
sudo apt-get --purge autoremove firefox-mozilla-build
sudo apt-get --purge autoremove firefox-locale-en
It solved my issue with multiple versions of firefox.
In order to make it up and running, I did the following.
Find any package installed on the system with the name firefox.
dpkg --list | grep firefox
I got 3 different names because I had 3 different versions:
- firefox
- firefox-mozilla-build
- firefox-locale-en
Then I uninstalled each one of them manually in this way. It'll remove firefox completely from the ubuntu machine.
sudo apt-get --purge autoremove firefox
sudo apt-get --purge autoremove firefox-mozilla-build
sudo apt-get --purge autoremove firefox-locale-en
It solved my issue with multiple versions of firefox.