[Guide] Fix Fedora updates failing in Russia and Ukraine

OpenH264 and Cisco

The updates fail because of the OpenH264 library. It was made by Cisco and for some weird licensing reason Fedora can’t include it in their repos, so they download the binary from Cisco’s servers (explained in more detail by [this reddit post | reddit.com])

Recently Cisco, it their infinite wisdom, decided to block all downloads from Russia (which, based on [this github issue | github.com], mostly affects Ukranians).

Disabling OpenH264

This part is based on [this github comment | github.com]

This has to be done in every Fedora-based template and standalone

  1. Edit /etc/yum.repos.d/fedora-cisco-openh264.repo
    • Under the first header ([fedora-cisco-openh264]) find enabled=1 and replace it with enabled=0
  2. Run dnf swap openh264 noopenh264 --allowerasing
  3. Update using the Qubes Update Tool

(Optional) enabling H264 proper

This part was not tested

  1. Run the following:
dnf install ffmpeg ffmpeg-libs
echo 'export MOZ_FFMPEG_AUDIO=1' | sudo tee -a /etc/environment
echo 'export MOZ_FFMPEG=1' | sudo tee -a /etc/environment` 
  1. Open Firefox, go to about:config
    • media.ffmpeg.enabled = true
    • media.navigator.mediadatadecoder_h264_enabled = true
4 Likes

this appears to have a typo @unknownghost please can you edit?

[Guide] Fix Fedora updates failing in Russia and Ukraine on 1 step.

Step 0: install Qubes OS
Step 1: use VPN or Tor for every network connection