Compeletely remove firefox

Asked by Jwtiyar Nariman

hey as i below pic. u can see my firefox was corrupted , so i want to completely remove it and re-install but after i uninstalled by purge or synaptic nothing worked because after re installing the error show again.
i want to remove every thing about FIrefox and fresh install to be like before.
http://imageshack.us/photo/my-images/689/screenshotfrom201211071.png/

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu firefox Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,
open a terminal (CTRL+ALT+T keys combo) and give bellow commands

~$ sudo apt-get remove --purge firefox
~$ rm -r .mozilla

For re-installation

~$ sudo apt-get install firefox

Thanks

Revision history for this message
Jwtiyar Nariman (jwtiyar) said :
#2

still same problem
while installing didint install all 23MB again just seemed like it has all files and set it up with out downloading .
http://imageshack.us/photo/my-images/854/screenshotfrom201211071.png/
my Terminal:
jwtiyar@jwtiyar-HP:~$ sudo apt-get remove --purge firefox
[sudo] password for jwtiyar:
Sorry, try again.
[sudo] password for jwtiyar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  firefox-locale-zh-hans
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  firefox* firefox-globalmenu*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 50.6 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 189359 files and directories currently installed.)
Removing firefox-globalmenu ...
Removing firefox ...
Purging configuration files for firefox ...
dpkg: warning: while removing firefox, directory '/usr/lib/firefox-addons/plugins' not empty so not removed.
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
jwtiyar@jwtiyar-HP:~$ rm -r .mozilla
jwtiyar@jwtiyar-HP:~$ sudo apt-get install firefox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  firefox-locale-zh-hans
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  firefox-globalmenu
Suggested packages:
  latex-xft-fonts firefox-gnome-support
The following NEW packages will be installed:
  firefox firefox-globalmenu
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/23.1 MB of archives.
After this operation, 50.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously unselected package firefox.
(Reading database ... 189244 files and directories currently installed.)
Unpacking firefox (from .../firefox_17.0~b4+build1-0ubuntu0.12.04.1~mfn1_amd64.deb) ...
Selecting previously unselected package firefox-globalmenu.
Unpacking firefox-globalmenu (from .../firefox-globalmenu_17.0~b4+build1-0ubuntu0.12.04.1~mfn1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Setting up firefox (17.0~b4+build1-0ubuntu0.12.04.1~mfn1) ...
Please restart all running instances of firefox, or you will experience problems.
Setting up firefox-globalmenu (17.0~b4+build1-0ubuntu0.12.04.1~mfn1) ...
jwtiyar@jwtiyar-HP:~$

Revision history for this message
Jeet (gour-jitendrasingh) said :
#3

try this

sudo apt-get --purge autoremove firefox

Thanks
~Jeet

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#4

Please copy-paste bellow commands from here to the terminal one at time.

You didn't remove the hidden .mozilla folder , also I added a cleanup command.

~$ sudo apt-get remove --purge firefox

~$ sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')

~$ rm -rf .mozilla/

~$ sudo apt-get install firefox

Thanks

Revision history for this message
Jwtiyar Nariman (jwtiyar) said :
#5

after doing these instruction ubuntu do not boot again , iam in liveUsb now .
thank you.

Revision history for this message
Jeet (gour-jitendrasingh) said :
#6

Did you tried my instruction?
On Nov 7, 2012 7:01 PM, "jwtear nariman" <
<email address hidden>> wrote:

> Question #213567 on firefox in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/firefox/+question/213567
>
> Status: Answered => Open
>
> jwtear nariman is still having a problem:
> after doing these instruction ubuntu do not boot again , iam in liveUsb
> now .
> thank you.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Jwtiyar Nariman (jwtiyar) said :
#7

yes of course , after this i wanted to open FIrefox but didnt so i said may be need reboot , now it will stop in black screen and do not boot.
thank you very much , i will go now to ask again in here about booting my ubuntu.

Revision history for this message
Jwtiyar Nariman (jwtiyar) said :
#8

sorry jeet i thought nithK answred, yes i did instruction before ask here also didnt work.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#9

What instructions ? Did you follow my instructions and Ubuntu don't boot ?

The commands have nothing to do with the boot or Ubuntu essential packages.

Is about firefox and the command

~$ sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')

is about to remove the packages that dpkg marked as rc = marked for removal.

Revision history for this message
Jwtiyar Nariman (jwtiyar) said :
#10

thank you,i dont know why its not booting i just copy pasted the written command, and this when i wanted to restart ubuntu because Firefox were not booted so i said may be its problem.
i didnt touch any thing :(

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#11

Try to use the recovey mode option .

Boot and hold down [SHIFT] key until grub menu appears and select "Recovery Mode" , then select "Network" and then "Dpkg- Repair Broken Packages" . When repair finish , try to "Resume" and see.

Thanks

Revision history for this message
VanillaMozilla (vanillamozilla) said :
#12

It's probably too late for this, but the OP asked the wrong question, so you guys answered the wrong question.

Most Firefox problems are in the PROFILE, not the program files. The easiest way to create a new profile is just to rename the ~/.mozilla directory. Firefox will create a new profile, and you're good to go. You can also delete it, but it's safer to rename it, because the profile contains user data.

Can you help with this problem?

Provide an answer of your own, or ask Jwtiyar Nariman for more information if necessary.

To post a message you must log in.