You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs says following:
“--add-repo=URL
Add (and enable) the repo from the specified file or url. If it has to be added into installroot, combine it with --setopt=reposdir=/<installroot>/etc/yum.repos.d command-line option.”
So, if I understand right, --add-repo can also enable (set value of enabled1) the spesified repo.
But, when I tested use --add-repo flag to enabling .repo file, it didn’t work 😦
Command sudo dnf config-manager --add-repo /tmp/test.repo just moves test.repo to path /etc/yum.repos.d/.
The example in documentation ("Download additional.repo and store it in repodir.") also doesn't mention the enabling, so, it should be updated after fixing this issue.
Hi!
The docs says following:
“
--add-repo=URL
Add (and enable) the repo from the specified file or url. If it has to be added into installroot, combine it with
--setopt=reposdir=/<installroot>/etc/yum.repos.d
command-line option.”So, if I understand right,
--add-repo
can also enable (set value ofenabled
1
) the spesified repo.But, when I tested use
--add-repo
flag to enabling .repo file, it didn’t work 😦Command
sudo dnf config-manager --add-repo /tmp/test.repo
just moves test.repo to path /etc/yum.repos.d/.See: https://discussion.fedoraproject.org/t/how-dnfs-config-manager-plugin-technically-works/88084/16
The text was updated successfully, but these errors were encountered: