Enable/Disable repo with dnf

Michael Schwendt mschwendt at gmail.com
Thu Jul 23 17:33:42 UTC 2015


On Thu, 23 Jul 2015 17:44:45 +0200, luigi.vtt at gmail.com wrote:

> Good day
> I'm trying to enable the fedora-source and updates-source repos, using
> this command:
> 
> sudo dnf --enablerepo=fedora-source repolist
> 
> The result of the command is that the fedora-source seems enabled 
> (it has a * in front of its name) but there is no
> fedora-source.repo in /etc/yum.repos.d/
> 
> Can anyone say me how to proceed?

Open /etc/yum.repos.d/fedora.repo and notice it's an INI-style
file, where the repo names are the section ids in brackets.


More information about the users mailing list