I did a dumb and it's annoying me... fedora 32 linux dnf

in a rush I did this…

$ sudo dnf config-manager --add-repo ppa:obsproject/obs-studio

Which did this…

$ sudo dnf update
created by dnf config-manager from ppa:obsproject/obs-studio 0.0 B/s | 0 B 00:00
Error: Failed to download metadata for repo ‘obsproject_obs-studio’: Cannot download repomd.xml: Empty mirrorlist and no basepath specified!
Ignoring repositories: obsproject_obs-studio

and i don’t know how to fix it. It’s not in the dnf.conf

1 Like

Look under /etc/yum.repos.d./, there should be a .repo file corresponding to your command. Most likely it will be named something likeobsproject*.repo.

6 Likes

that’s the one… just delete it or is it linked someplace else possibly. Pretty much stock fedora if that matters.

Just delete it.

Thanks a ton. I thought about yum but didn’t even know it was still part of Fedora.

For backwards compatibility there’s a yum command, but it just points todnf.

$ ls -l /usr/bin/yum
lrwxrwxrwx. 1 root root 5 Jun  2 21:50 /usr/bin/yum -> dnf-3

In the early days, while dnf was still being developed, it had to co-exist withyum, so the repo definitions had to be the same otherwise they wouldn’t be compatible with each other. Now yum is gone, but the repo files are still in the same location and in the same format. This also allows interoperability with Scientific Linux, RHEL, Centos, etc.

1 Like

And for the same reason, the dnf configuration files are still named like the old yum config files.

1 Like