![]() You can simulate an installation of Firefox using -dry-run, like this, so as to check which version of Firefox will be installed: sudo apt install -verbose-versions -dry-run firefox Now, you should be able to install the PPA version of Firefox. Run sudo apt update to make sure the changes have been taken into account. And the last three lines disable installing the firefox packages from Ubuntu's repositories. The first three lines give priority to the firefox packages provided by the Mozilla PPA. To prevent the installation of the Snap version of Firefox through the firefox package provided by Ubuntu, we need to modify this file as root, using gnome-text-editor or whichever text editor you prefer: sudo gnome-text-editor /etc/apt/preferences.d/mozillafirefoxppa Check that you can see both firefox packages by running: apt info -a firefox The version provided in the Ubuntu repos is a transitional package that actually installs the Snap version of Firefox behind the scenes, which in this case, we don't want. Now, the package firefox is provided by both the Ubuntu repos and the Mozilla PPA. Then add the PPA from mozillateam: sudo add-apt-repository ppa:mozillateam/ppa (If you have settings in the Snap version of Firefox under ~/snap/firefox/, you may want to migrate those to ~/.mozilla/firefox/) This was the only thing that worked for me after upgrading to Ubuntu 22.10.įirst, remove the Snap version of Firefox: sudo snap remove firefox Sudo apt remove firefox & sudo snap install firefox Remove the apt version and reinstall snap.Sudo rm -rf /etc/apt/preferences.d/mozilla-firefox Sudo add-apt-repository -r ppa:mozillateam/ppa echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:$" ' | sudo tee /etc/apt//51unattended-upgrades-firefox Alternatively, you can turn off unattended upgrades. To ensure that unattended upgrades do not reinstall the snap version of Firefox, enter the following command. Next, remove the snap version of firefox sudo snap remove firefox ' | sudo tee /etc/apt/preferences.d/mozilla-firefox ![]() Then, copy and paste the following code in a terminal in one go (don't copy-paste line by line) to prioritize the apt version of firefox over the snap version. sudo add-apt-repository ppa:mozillateam/ppa You can use the Firefox PPA maintained by Mozilla team. This answer is for the latest stable version of Firefox. The other answer by Organic Marble is for Firefox-ESR, and the answer by eddygeek is for the beta version. If you switch to the APT version, you will lose your bookmarks unless you sync them with your Firefox account.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |