-
-
Save jc00ke/4dd8c7afa79bd78412f93bce09a5de84 to your computer and use it in GitHub Desktop.
#!/bin/env bash | |
sudo snap remove firefox | |
sudo add-apt-repository ppa:mozillateam/ppa | |
echo ' | |
Package: * | |
Pin: release o=LP-PPA-mozillateam | |
Pin-Priority: 1001 | |
' | sudo tee /etc/apt/preferences.d/mozilla-firefox | |
echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox | |
sudo apt install firefox | |
# consider the ramifications of the following line and uncomment if you want | |
# mv ~/snap/firefox/common/.mozilla/firefox ~/.mozilla/ |
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)
what's this about? I'm not a pythonista but I'd look into that, maybe your network settings?
I’ve seen a similar error in other contexts. For example, I have a setting in my .gitconfig
that disables certificate validation for one of my employer’s internal servers.
Whatever the problem, it doesn’t affect apt
when it accesses other servers.
I know next to nothing about certificate validation, so I have no clue what might be broken, but I wonder if, on this version, removing snapd or Firefox might remove/break some certificate thingy.
I don’t know if it’s possible to install two WSL instances running the same distribution. If it is, I could test if the add-apt-repository
works before I remove anything.
No change.