Ask Your Question
0

dnf remove ppa repository?

asked 2016-12-23 13:29:45 -0500

jdubbjr gravatar image

Hey guys, so I attempted to add a repository to Fedora 25 without actually understanding what that was (keep in mind, I still barely know what I'm talking about. Please forgive my ignorance). What I did was find a Ubuntu PPA for Sublime Text 3, and attempted to add it like a normal Fedora repository.

The command I used was

 $ sudo dnf config-manager --add-repository ppa:webupd8team/sublime-text-3

Everything seemed fine, it appeared to add the repository (I mistook the lack of an error message for success). Now, whenever I use dnf, I get an error:

 $ dnf search youtube-dl

With this result:

Repository 'webupd8team_sublime-text-3': Error parsing config: Error parsing "baseurl = ppa:webupd8team/sublime-text-3": URL must be http, ftp, file or https not "ppa"
Failed to synchronize cache for repo 'download.sublimetext.com_sublime-text_build-3126_amd64.deb', disabling.
Last metadata expiration check: 10:02:05 ago on Fri Dec 23 02:12:15 2016.
================================= N/S Matched: youtube-dl ==================================
youtube-dl.noarch : A small command-line program to download online videos

How can I remove this? I tried

$ sudo dnf config-manager --set-disabled ppa:webupd8team/sublime-text-3

With the result:

Repository 'webupd8team_sublime-text-3': Error parsing config: Error parsing "baseurl = ppa:webupd8team/sublime-text-3": URL must be http, ftp, file or https not "ppa"
Error: No matching repo to modify: ppa:webupd8team/sublime-text-3.

So any thoughts? How can I get rid of it? It doesn't seem to hurt anything, it's just goshdarn annooying.

Thanks,

jdubbjr

edit retag flag offensive close merge delete

Comments

Thanks, problem solved!

jdubbjr gravatar imagejdubbjr ( 2016-12-25 15:58:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-12-23 16:16:42 -0500

mithrial gravatar image

PPAs are for Ubuntu, not Fedora. You remove it by removing the file in the folder /etc/yum.repos.d/ If I execute your first code, dnf tells me that --add-repository is a unrecognized argument.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-12-23 13:29:02 -0500

Seen: 1,272 times

Last updated: Dec 23 '16