Swap to noopenh264 instead:

I believe the correct way to do this is to first disable the repo, then
swap the packages:

- sudo dnf config-manager setopt fedora-cisco-openh264.enabled=0
- sudo dnf swap '*openh264*' noopenh264

mozilla-openh264 (from the cisco repo) can't be removed because firefox
depends on it ...
fwiw, one example,

distro
  Name: Fedora Linux 42 (Adams)
  Version: 42
  Codename:

dnf repolist | grep -Ei "^Fedora|Fusion"
  fedora                            Fedora 42 - x86_64
  fedora-cisco-openh264             Fedora 42 openh264 (From Cisco) - x86_64
  rpmfusion-free                    RPM Fusion for Fedora 42 - Free
  rpmfusion-free-updates            RPM Fusion for Fedora 42 - Free - Updates
  rpmfusion-nonfree                 RPM Fusion for Fedora 42 - Nonfree
  rpmfusion-nonfree-updates         RPM Fusion for Fedora 42 - Nonfree - Updates

rpm -qa | grep -Ei "264|Firefox" | sort
  firefox-138.0.4-1.fc42.x86_64
  firefox-langpacks-138.0.4-1.fc42.x86_64
  firefoxpwa-2.14.1-1.x86_64
  gpg-pubkey-fdac5264-662e77c7
  gstreamer1-plugin-openh264-1.26.1-1.fc42.x86_64
  mozilla-openh264-2.4.1-2.fc42.x86_64
  openh264-2.4.1-2.fc42.x86_64
  x264-0.164-16.20231001git31e19f92.fc42.x86_64
  x264-libs-0.164-16.20231001git31e19f92.fc42.x86_64

dnf repoquery --installed --whatrequires openh264 | sort
  chromium-0:136.0.7103.113-1.fc42.x86_64
  ffmpeg-libs-0:7.1.1-6.fc42.x86_64
  freerdp2-libs-0:2.11.7-7.fc42.x86_64
  gstreamer1-plugin-openh264-0:1.26.1-1.fc42.x86_64
  libheif-0:1.19.8-1.fc42.x86_64
  mozilla-openh264-0:2.4.1-2.fc42.x86_64
  qt6-qtwebengine-0:6.9.0-1.fc42.x86_64

dnf remove openh264
  ...
  Removing:         145 packages
  After this operation, 2 GiB will be freed (install 0 B, remove 2 GiB).

--> https://paste.centos.org/view/raw/6bf675b2


dnf config-manager setopt fedora-cisco-openh264.enabled=0
dnf swap '*openh264*' noopenh264
  Updating and loading repositories:
  Repositories loaded.
  Failed to resolve the transaction:
  Problem: cannot install the best candidate for the job
    - conflicting requests
  You can try to add to command line:
    --no-best to not limit the transaction to the best candidates

--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to