dnf --disablerepo=rpmfusion-free-source download --enablerepo=rawhide --source mercurial enabling fedora-modular-source repository enabling rawhide-source repository enabling updates-modular-source repository enabling updates-source repository enabling fedora-source repository enabling rpmfusion-free-updates-source repository enabling rpmfusion-free-source repository enabling rpmfusion-nonfree-updates-source repository enabling rpmfusion-nonfree-source repository RPM Fusion for Fedora 31 - Free - Source 267 kB/s | 80 kB 00:00 Failed to download metadata for repo 'rpmfusion-free-source' Error: Failed to download metadata for repo 'rpmfusion-free-source'
Why report it here? I think rpmfusion mirrormanager is missing the source repos.
On Sun, Nov 10, 2019 at 03:44:03PM -0000, Neal Becker wrote:
dnf --disablerepo=rpmfusion-free-source download --enablerepo=rawhide --source mercurial enabling fedora-modular-source repository enabling rawhide-source repository enabling updates-modular-source repository enabling updates-source repository enabling fedora-source repository enabling rpmfusion-free-updates-source repository enabling rpmfusion-free-source repository enabling rpmfusion-nonfree-updates-source repository enabling rpmfusion-nonfree-source repository RPM Fusion for Fedora 31 - Free - Source 267 kB/s | 80 kB 00:00 Failed to download metadata for repo 'rpmfusion-free-source' Error: Failed to download metadata for repo 'rpmfusion-free-source'
Should be fixed.
Adrian
On 11/10/19 7:44 AM, Neal Becker wrote:
dnf --disablerepo=rpmfusion-free-source download --enablerepo=rawhide --source mercurial enabling fedora-modular-source repository enabling rawhide-source repository enabling updates-modular-source repository enabling updates-source repository enabling fedora-source repository enabling rpmfusion-free-updates-source repository enabling rpmfusion-free-source repository enabling rpmfusion-nonfree-updates-source repository enabling rpmfusion-nonfree-source repository RPM Fusion for Fedora 31 - Free - Source 267 kB/s | 80 kB 00:00 Failed to download metadata for repo 'rpmfusion-free-source' Error: Failed to download metadata for repo 'rpmfusion-free-source'
Everyone answering so far has missed the important point. He explicitly disabled that repo, but using the "--source" option re-enabled it. I would suggest that you file a bug report for that.
Samuel Sieb wrote:
On 11/10/19 7:44 AM, Neal Becker wrote:
dnf --disablerepo=rpmfusion-free-source download --enablerepo=rawhide --source mercurial enabling fedora-modular-source repository enabling rawhide-source repository enabling updates-modular-source repository enabling updates-source repository enabling fedora-source repository enabling rpmfusion-free-updates-source repository enabling rpmfusion-free-source repository enabling rpmfusion-nonfree-updates-source repository enabling rpmfusion-nonfree-source repository RPM Fusion for Fedora 31 - Free - Source 267 kB/s | 80 kB 00:00 Failed to download metadata for repo 'rpmfusion-free-source' Error: Failed to download metadata for repo 'rpmfusion-free-source'
Everyone answering so far has missed the important point. He explicitly disabled that repo, but using the "--source" option re-enabled it. I would suggest that you file a bug report for that. _______________________________________________
Well it does work if you do
dnf --disablerepo=rpmfusion-free,rpmfusion-nonfree download -- enablerepo=rawhide --source mercurial
But that is not exactly obvious, so I think it's something dnf could handle better (I hesitate to call it a bug).
On 11/10/19 1:52 PM, Neal Becker wrote:
Well it does work if you do
dnf --disablerepo=rpmfusion-free,rpmfusion-nonfree download -- enablerepo=rawhide --source mercurial
But that is not exactly obvious, so I think it's something dnf could handle better (I hesitate to call it a bug).
Wow, that is very non-obvious.
Samuel Sieb wrote:
On 11/10/19 1:52 PM, Neal Becker wrote:
Well it does work if you do
dnf --disablerepo=rpmfusion-free,rpmfusion-nonfree download -- enablerepo=rawhide --source mercurial
But that is not exactly obvious, so I think it's something dnf could handle better (I hesitate to call it a bug).
Wow, that is very non-obvious.
How is it non-obvious? --source enables the source repositories corresponding to the binary repositories you have enabled, so if you don't want it to enable rpmfusion-free-source, you have to disable the rpmfusion-free (not rpmfusion-free-source) repository. Sounds quite obvious to me.
Kevin Kofler
On Mon, 2019-11-11 at 12:07 +0100, Kevin Kofler wrote:
Samuel Sieb wrote:
On 11/10/19 1:52 PM, Neal Becker wrote:
Well it does work if you do
dnf --disablerepo=rpmfusion-free,rpmfusion-nonfree download -- enablerepo=rawhide --source mercurial
But that is not exactly obvious, so I think it's something dnf could handle better (I hesitate to call it a bug).
Wow, that is very non-obvious.
How is it non-obvious? --source enables the source repositories corresponding to the binary repositories you have enabled, so if you don't want it to enable rpmfusion-free-source, you have to disable the rpmfusion-free (not rpmfusion-free-source) repository. Sounds quite obvious to me.
But the user's intent is clear and the code almost certainly *could* interpret it, it just doesn't right now. All it has to do is (re- )consider the repo(s) that were disabled via user config *after* the "infer the source repos to enable from the enabled binary repos" flow has happened. I'd call it a bug, or at least a reasonable feature request.
On Tue, Nov 12, 2019, at 7:50 PM, Adam Williamson wrote:
On Mon, 2019-11-11 at 12:07 +0100, Kevin Kofler wrote:
Samuel Sieb wrote:
On 11/10/19 1:52 PM, Neal Becker wrote:
Well it does work if you do
dnf --disablerepo=rpmfusion-free,rpmfusion-nonfree download -- enablerepo=rawhide --source mercurial
But that is not exactly obvious, so I think it's something dnf could handle better (I hesitate to call it a bug).
Wow, that is very non-obvious.
How is it non-obvious? --source enables the source repositories corresponding to the binary repositories you have enabled, so if you don't want it to enable rpmfusion-free-source, you have to disable the rpmfusion-free (not rpmfusion-free-source) repository. Sounds quite obvious to me.
But the user's intent is clear and the code almost certainly *could* interpret it, it just doesn't right now. All it has to do is (re- )consider the repo(s) that were disabled via user config *after* the "infer the source repos to enable from the enabled binary repos" flow has happened. I'd call it a bug, or at least a reasonable feature request.
I agree it's s feature request. It's a case of "I recognize the correct answer when it's shown to me"... after seeing this thread, it's obvious that/why/how it works, but I wouldn't have necessarily thought of it myself.
V/r, James Cassell
On 11/10/19 7:44 AM, Neal Becker wrote:
Everyone answering so far has missed the important point. He explicitly disabled that repo, but using the "--source" option re-enabled it. I would suggest that you file a bug report for that.
I noticed that but only care about the rpmfusion issue.
On Sun, 2019-11-10 at 15:44 +0000, Neal Becker wrote:
dnf --disablerepo=rpmfusion-free-source download --enablerepo=rawhide --source mercurial
To disable rpmfusion-free-source you need write rpmfusion-free without "source" [1] as you already notice and to query only rawhide you should use disable '*' first [2]
[1] dnf --disablerepo=rpmfusion-free download --enablerepo=rawhide --source mercurial
[2] dnf --disablerepo='*' --enablerepo=rawhide,rpmfusion-free,rpmfusion- nonfree --source download mercurial