Why does purging firefox install firefox-esr?

Post your bugs here.
User avatar
ilu
Posts: 1362
Joined: 09 Oct 2013 12:45

Why does purging firefox install firefox-esr?

Postby ilu » 30 Apr 2017 16:46

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.

User avatar
grizzler
Posts: 1788
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Why does purging firefox install firefox-esr?

Postby grizzler » 03 May 2017 08:58

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.
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
ilu
Posts: 1362
Joined: 09 Oct 2013 12:45

Re: Why does purging firefox install firefox-esr?

Postby ilu » 05 May 2017 18:53

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?

User avatar
Schoelje
Site Admin
Posts: 8233
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Why does purging firefox install firefox-esr?

Postby Schoelje » 06 May 2017 07:19

firefox-solydxk-adjustments either needs firefox-esr or firefox.
If you want neither, you need to purge this package as well.


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 1362
Joined: 09 Oct 2013 12:45

Re: Why does purging firefox install firefox-esr?

Postby ilu » 06 May 2017 13:15

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.

User avatar
Schoelje
Site Admin
Posts: 8233
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Why does purging firefox install firefox-esr?

Postby Schoelje » 06 May 2017 19:26

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 ~/


SolydXK needs you!
Development | Testing | Translations


Return to “Bug control”

Who is online

Users browsing this forum: No registered users and 1 guest