Are my repos correctly configured?

Hi,

I’m a bit new to Fedora in general. I installed Fedora 37 some time ago. Having used Archlinux before, I wanted to try the rolling model of Fedora. So I switched to Rawhide.

In the process my repos got naturally reconfigured and I have myself added rpmfusion and also copr I think.

Would you be kind to review my repos and see if I’ve got all the necessary ones enabled so that i don’t miss on updates?

Here are the active repos:

  Active yum repos in: /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo
  Active yum repos in: /etc/yum.repos.d/fedora-cisco-openh264.repo
  Active yum repos in: /etc/yum.repos.d/fedora-rawhide-modular.repo
  Active yum repos in: /etc/yum.repos.d/fedora-rawhide.repo
  Active yum repos in: /etc/yum.repos.d/fedora-updates.repo
  Active yum repos in: /etc/yum.repos.d/fedora.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free-rawhide.repo

And non actives:

  No active dnf repos in: /etc/dnf/dnf.conf
  No active yum repos in: /etc/yum.repos.d/fedora-modular.repo
  No active yum repos in: /etc/yum.repos.d/fedora-updates-modular.repo
  No active yum repos in: /etc/yum.repos.d/fedora-updates-testing-modular.repo
  No active yum repos in: /etc/yum.repos.d/fedora-updates-testing.repo
  No active yum repos in: /etc/yum.repos.d/google-chrome.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates-testing.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-free.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-steam.repo

The easiest is to look at the output of

dnf repolist

To me, everything looks fine with the list above. If you don’t use modules, you could disable *-modular.repo

1 Like

Thank you! That’s good to know.

I don’t think I do. I tried to read:

May I ask how I could check if I have something installed from this repo?

Also the output of dnf repolist (with the modular repo still active):

$ dnf repolist 
repo id                                                                                                 repo name
copr:copr.fedorainfracloud.org:phracek:PyCharm                                                          Copr repo for PyCharm owned by phracek
fedora                                                                                                  Fedora rawhide - x86_64
fedora-cisco-openh264                                                                                   Fedora rawhide openh264 (From Cisco) - x86_64
rawhide                                                                                                 Fedora - Rawhide - Developmental packages for the next Fedora release
rawhide-modular                                                                                         Fedora - Modular Rawhide - Developmental packages for the next Fedora release
rpmfusion-free-rawhide                                                                                  RPM Fusion for Fedora Rawhide - Free
updates                                                                                                 Fedora rawhide - x86_64 - Updates

You are right about that. Thank you for letting me know!

dnf list installed

and then grep through that list, i.e. dnf list installed | grep @modules

or

repoquery -a --repoid=rpmfusion-free
repoquery --installed --qf "%-20{repoid} %{name}"
dnf repo-pkgs <repoid> list installed
dnf repo-pkgs rpmfusion-free list installed
1 Like

I didn’t get any output so I went ahead and disabled that repo.
Here is what I currently have:

$ dnf repolist 
repo id                                        repo name
copr:copr.fedorainfracloud.org:phracek:PyCharm Copr repo for PyCharm owned by phracek
fedora                                         Fedora rawhide - x86_64
fedora-cisco-openh264                          Fedora rawhide openh264 (From Cisco) - x86_64
rawhide                                        Fedora - Rawhide - Developmental packages for the next Fedora release
rpmfusion-free-rawhide                         RPM Fusion for Fedora Rawhide - Free
updates                                        Fedora rawhide - x86_64 - Updates

I hope it is ok now.

Thank you so much for your help!