[Bug 1999308] Re: Snap keeps uninstalling apt Firefox, and reinstalling snap Firefox
herrsaalfeld
1999308 at bugs.launchpad.net
Mon May 22 15:26:19 UTC 2023
If you intercept snap as described above by
sudo snap disable firefox
sudo snap remove firefox
and add the Mozilla PPA for Firefox, then the Ubuntu deb package will
remove the Mozilla Firefox version without being able to install the
snap version because that was disabled. The result is no Firefox. This
can be fixed by running apt upgrade twice but I would call this a bug
with the package.
This can be prevented by disabling the Ubuntu package by
cat <<EOF | sudo tee /etc/apt/preferences.d/mozilla-firefox
Package: firefox*
Pin: release o=Ubuntu*
Pin-Priority: -1
EOF
but I would have hoped that the package would refrain from deinstalling
without replacing. The transitional package must make sure that calling
snap will result in the expected package being installed before removing
the 'old' version. If that isn't something that can be done with
'transitional' packages in apt, then I would argue that releasing such
transitional deb packages should not be done.
--
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