Page 1 of 1

Why does purging firefox install firefox-esr?

Posted: 30 Apr 2017 16:46
by ilu
Why is this happening?

Code: Select all

sudo apt-get purge firefox

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  firefox-esr gstreamer1.0-libav
Suggested packages:
  fonts-lmodern mozplugger
The following packages will be REMOVED:
  firefox* firefox-solydxk-adjustments*
The following NEW packages will be installed:
  firefox-esr gstreamer1.0-libav
0 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.

Re: Why does purging firefox install firefox-esr?

Posted: 03 May 2017 08:58
by grizzler
Something like that usually happens when there is some other package on your system that depends on something which is provided by the package you remove. E.g. firefox 'provides' a browser. Some package insists on having a browser available. You remove firefox, so apt looks for an alternative that also provides a browser and finds firefox-esr.
That's if you go through the alternatives system. It could also be as simple as a package having a depends line in its control file that specifies a number of browsers (e.g. Depends: firefox | firefox-esr). Same effect. One goes, apt picks the other.

Re: Why does purging firefox install firefox-esr?

Posted: 05 May 2017 18:53
by ilu
Thanks for clarifying, I should have thought about reverse dependencies myself.

Is there a way to check the "some browser" dependency with apt-cache rdepends? Or better even, to check which installed packages need firefox?

Re: Why does purging firefox install firefox-esr?

Posted: 06 May 2017 07:19
by Schoelje
firefox-solydxk-adjustments either needs firefox-esr or firefox.
If you want neither, you need to purge this package as well.

Re: Why does purging firefox install firefox-esr?

Posted: 06 May 2017 13:15
by ilu
I caught everything with "firefox" in the name. But there are probably a lot more r-dependencies in a standard SolydXK install. Purging the only browser is obviously a bad idea. Problem is, according to a search "sudo apt-get install --reinstall" doesn't purge. And just deleting .mozilla and other methods of resetting the profile would also remove the addons which SolydXK has. I wnated a reset to "factory settings" (i.e. what SolydXK originally came with). Would deleting the profile and "sudo apt-get install --reinstall firefox-solydxk-adjustments" achieve that?

I'd just like to know. The problem turned out to be something else anyway. Sometimes I run around in circles while playing helpdesk. I have to learn to cut to the heart of the matter more quickly.

Re: Why does purging firefox install firefox-esr?

Posted: 06 May 2017 19:26
by Schoelje
ilu wrote:Would deleting the profile and "sudo apt-get install --reinstall firefox-solydxk-adjustments" achieve that?
Or just rename ~/.mozilla and copy /etc/skel/.mozilla to ~/