Public bug reported:

Earlier I changed from the snap version to the Mozilla packaged .deb
version by:

* sudo snap remove firefox
* sudo apt remove firefox

Adding the key and repository for mozilla packages

$ cat /etc/apt/sources.list.d/mozilla.sources 
X-Repolib-Name: mozilla
Types: deb
URIs: https://packages.mozilla.org/apt
Suites: mozilla
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/google-artifact-registry-signing.asc

and pinning with higher priority
$ cat /etc/apt/preferences.d/mozilla 
Package: *
Pin: origin packages.mozilla.org
Pin-Priority: 1000

A recent update replaced that with the snap package regardless.

$ apt-cache policy firefox
firefox:
  Installed: 1:1snap1-0ubuntu5
  Candidate: 151.0~build2
  Version table:
 *** 1:1snap1-0ubuntu5 500
        500 https://mirrors.nic.funet.fi/ubuntu noble/main amd64 Packages
        100 /var/lib/dpkg/status
     151.0~build2 1000
       1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages
     150.0.3~build1 1000
       1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages
     150.0.2~build2 1000
       1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages
     150.0.1~build1 1000
       1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages
     150.0~build1 1000
       1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages

After again removing the snap and apt redirect packages

$ apt-cache policy firefox
firefox:
  Installed: (none)
  Candidate: 151.0~build2
  Version table:
     1:1snap1-0ubuntu5 500
        500 https://mirrors.nic.funet.fi/ubuntu noble/main amd64 Packages
        100 /var/lib/dpkg/status
     151.0~build2 1000
       1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages
     150.0.3~build1 1000
       1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages
     150.0.2~build2 1000
       1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages
     150.0.1~build1 1000
       1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages
     150.0~build1 1000
       1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages

so clearly the mozilla version should have stayed in place.

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2153409

Title:
  Firefox snap version installed even when Mozilla Debian version is
  with higher priority

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2153409/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to