[Bug 1999308] Re: Snap keeps uninstalling apt Firefox, and reinstalling snap Firefox

herrsaalfeld 1999308 at bugs.launchpad.net
Thu Jun 1 15:03:54 UTC 2023


Package: firefox*
Pin: release o=Ubuntu*
Pin-Priority: -1

in combination with

snap disable firefox

as described in the above thread is robust for me.  Holding firefox
disables updates which is not desirable.

Check man apt_preferences for the meaning of priorities:

How APT Interprets Priorities
       Priorities (P) assigned in the APT preferences file must be positive or negative
       integers. They are interpreted as follows (roughly speaking):

       P >= 1000
           causes a version to be installed even if this constitutes a downgrade of the package

       990 <= P < 1000
           causes a version to be installed even if it does not come from the target release,
           unless the installed version is more recent

       500 <= P < 990
           causes a version to be installed unless there is a version available belonging to
           the target release or the installed version is more recent

       100 <= P < 500
           causes a version to be installed unless there is a version available belonging to
           some other distribution or the installed version is more recent

       0 < P < 100
           causes a version to be installed only if there is no installed version of the
           package

       P < 0
           prevents the version from being installed

       P = 0
           has undefined behaviour, do not use it.

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

Title:
  Snap keeps uninstalling apt Firefox, and reinstalling snap Firefox

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




More information about the Ubuntu-mozillateam-bugs mailing list