Linux Fixes
Fixes for common errors.
On this page
DNF Update: invalid certificate
If dnf update gives you an error like this one:
RPM: 1. Certificiate CC5F15147A36124D invalid: certificate is not alive
RPM: because: The primary key is not live
RPM: because: Expired on 2022-05-15T11:33:53Z
RPM: 2. Key CC5F15147A36124D invalid: key is not alive
RPM: because: The primary key is not live
RPM: because: Expired on 2022-05-15T11:33:53Z
RPM: error: Verifying a signature using certificate E9B542ED839913B776AF2AA8CC5F15147A36124D (stable OBS Project <stable@obs-api-v2.codicefactory.
com>).
- Find key for the repo that is not working (stable OBS Project in this case):
# Command
rpm -q gpg-pubkey --queryformat “%{NAME}-%{VERSION}-%{SUMMARY}\n”
# Example result
“gpg-pubk... public keyn”“gpg-pubkey-7a36124d-stable OBS Project <stable@obs-api-v2.codicefactory.com>”% ....
|--THIS-IS-THE-KEY--|
- Delete the key and the repo:
# Replace with your repository key
sudo rpm -e gpg-pubkey-7a36124d
# Delete the repo (go to /etc/yum.repos.d/)
sudo rm /etc/yum.repos.d/plasticscm-stable.repo
- Clean dnf cache:
sudo dnf clean all
- Reinstall the repo and update as usual.
VLC
VLC error: Could not decode h264 fedora
Run the following command:
sudo dnf install vlc-plugin-gstreamer vlc-plugin-ffmpeg
This solution also solves Fedora Dragon Player not playing videos.