Firefox Broken on LTS Distro
Broken FF on Ubuntu 24.04 LTS
Fix
Remove Default Distro Snap
sudo snap remove firefox # Broken firefox snap
Create apt keyring
sudo install -d -m 0755 /etc/apt/keyrings
Import Mozilla apt Repo Signing Key
wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null
Add to sources.list
echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null
Make FF Deb Top Priority
Make FF deb pkgs top priority, to prevent snap install.
echo '
Package: *
Pin: origin packages.mozilla.org
Pin-Priority: 1000
' | sudo tee /etc/apt/preferences.d/mozilla
Get Mozilla pkgs list
sudo apt update
Install firefox
sudo apt install firefox
or
sudo wget https://raw.githubusercontent.com/mozilla/sumo-kb/main/install-firefox-linux/firefox.desktop -P /usr/local/share/applications
Status
SOLVED
Copyright @ 2024 Anne Brown