Disabling Firefox snap permanently to use Firefox from .deb/apt

aw flag

For security reasons, I run Firefox under a separate user account rather than my main account. That user is not configured to start snap programs, so if snap Firefox is installed, Firefox cannot start at all.

So I always want to use the Firefox via apt.

I have followed the steps from How to install Firefox as a traditional deb package (without snap) in Ubuntu 22.04 or later versions? to install apt Firefox. That installs Firefox from apt and it works fine.

But after every update, the snap Firefox is installed again. Then I have to uninstall the snap and install the apt version again. I want to kill it off permanently

I have done the steps from Completely remove firefox snap package (snap disable firefox && sudo snap remove --purge firefox) but they do not help and the snap keeps coming back.


$  apt policy firefox
  Installed: 110.0+build1-0ubuntu0.22.04.1~mt1
  Candidate: 110.0+build1-0ubuntu0.22.04.1~mt1
  Version table:
     1:1snap1-0ubuntu2 500
        500 jammy/main amd64 Packages
 *** 110.0+build1-0ubuntu0.22.04.1~mt1 1001
       1001 jammy/main amd64 Packages
        100 /var/lib/dpkg/status
Organic Marble avatar
us flag
Do you need to preserve the ability to run any other snaps?
nobody avatar
gh flag
You can use apt-pinning for the ppa. Give a value over 1000.
us flag
Did you set up the apt pin file as in this answer?
BeniBela avatar
aw flag
@ArchismanPanigrahi: I have a pin file with the first three lines "Package: * Pin: release o=LP-PPA-mozillateam Pin-Priority: 1001"
us flag
Can you edit the question and post the output of `apt policy firefox`?
BeniBela avatar
aw flag
@OrganicMarble: It is probably better if it is preserved
BeniBela avatar
aw flag
@ArchismanPanigrahi: I added it
kanehekili avatar
zw flag
I have answered it [here](
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.