Too many problems snap firefox.

Apt not snap !

I can not understand why using snap !

The debian packages management system is really good. Also firefox is nice browser   !
After updated from 20.04 to 22.04. I got a message that an update was pending.
Normal case type following commands.

kill all firefox
sudo snap ref

However same notification “pending update of firefox snap …..”.
Actually I feel bad !!

Someday, I found “mozillateam/ppa” !! so I change snap to deb !
Before you go any further you want to backup/export any important browser settings, bookmarks, and other data.

  1.  changing root user.
    $ sudo -i
    #
  2. Remove the Firefox Snap after stop using firefox.
    # snap remove firefox
  3. Add the (Ubuntu) Mozilla team PPA
    # add-apt-repository ppa:mozillateam/ppa
  4. Alter the Firefox package priority to ensure the PPA/deb/apt version of Firefox is preferred.
    # echo '
    Package: *
    Pin: release o=LP-PPA-mozillateam
    Pin-Priority: 1001
    ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  5. Since you’ll (hopefully) want future Firefox upgrades.
    # echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
    mozillateam:${distro_codename}";' | sudo tee
     /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  6. final step !
    # apt install firefox firefox-locale-en firefox-locale-ja

    # also you need locales ex; firefox-locale-ja

  7. if getting strange notification
    # snap set system refresh.metered=null
Note:

debian package has long time history and stable package management system. Which is much more stable ?
The answer is …..  Firefox is very important for me. because its useful l web debugging system.