Hi, Fedora Infra team
Can I ask you a question about fedora-rawhide repo? Case [1][2]: got an error for "dnf repoquery". but [3] it works. Does Fedora infra team need to modify server settings to fix this error?
- Case [1] $ sudo vi /etc/yum.repos.d/fedora-rawhide.repo ... [rawhide-source] baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/sourc... ...
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Error: Failed to synchronize cache for repo 'rawhide-source' from 'http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/sourc...': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
When I clicked http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/sourc... by my Firefox, its URL was redirected to http://mirrors.nic.cz/fedora/linux/development/rawhide/source/SRPMS/ and the URL was not found (404). (cz domain is because I was in Czech Republic).
- Case [2] $ sudo vi /etc/yum.repos.d/fedora-rawhide.repo ... [rawhide-source] metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=$bas... ...
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Error: Failed to synchronize cache for repo 'rawhide-source' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_...': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
I clicked https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_..., and downloaded "metalink" text file by my Firefox. Though several link sites were "not found 404" for the repomd.xml. I could find one available link site, that is the link of [3].
- Case [3] $ sudo vi /etc/yum.repos.d/fedora-rawhide.repo ... [rawhide-source] baseurl=http://ftp.uninett.no/linux/fedora/development/rawhide/source/SRPMS/ ...
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Fedora - Rawhide - Source 3.6 MB/s | 6.1 MB 00:01 Last metadata expiration check: 0:00:00 ago on Tue Mar 29 12:10:32 2016 => OK
Best regards, Jun Aruga
On Tue, 29 Mar 2016 10:24:58 -0000 "Jun Aruga" jaruga@redhat.com wrote:
Hi, Fedora Infra team
Can I ask you a question about fedora-rawhide repo?
Sure.
Case [1][2]: got an error for "dnf repoquery". but [3] it works. Does Fedora infra team need to modify server settings to fix this error?
- Case [1]
$ sudo vi /etc/yum.repos.d/fedora-rawhide.repo ... [rawhide-source] baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/sourc... ...
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Error: Failed to synchronize cache for repo 'rawhide-source' from 'http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/sourc...': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
When I clicked http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/sourc... by my Firefox, its URL was redirected to http://mirrors.nic.cz/fedora/linux/development/rawhide/source/SRPMS/ and the URL was not found (404). (cz domain is because I was in Czech Republic).
Right. download.fedoraproject.org is a redirect that redirects you to a mirror. Sometimes (especially after things like Alpha release, or rawhide not composing for the last 4 days and working today) it takes a while for mirrors to catch up, so you may be redirected to a mirror thats not up to date.
Note that this is not the default setting. You set it yourself.
- Case [2]
$ sudo vi /etc/yum.repos.d/fedora-rawhide.repo ... [rawhide-source] metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=$bas... ...
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Error: Failed to synchronize cache for repo 'rawhide-source' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_...': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
I clicked https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_..., and downloaded "metalink" text file by my Firefox. Though several link sites were "not found 404" for the repomd.xml. I could find one available link site, that is the link of [3].
So, like I mentioned above... rawhide hasnt been composing until late yesterday. So, possibly all mirrors got marked out of date... I see some synced now. Is this working for you now?
- Case [3]
$ sudo vi /etc/yum.repos.d/fedora-rawhide.repo ... [rawhide-source] baseurl=http://ftp.uninett.no/linux/fedora/development/rawhide/source/SRPMS/ ...
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Fedora - Rawhide - Source 3.6 MB/s | 6.1 MB 00:01 Last metadata expiration check: 0:00:00 ago on Tue Mar 29 12:10:32 2016 => OK
ok.
So, in short, I think this is caused by the failure of rawhide to compose for more days than mirrormanager keeps to consider mirrors up to date and should now be cleared up.
kevin
Hi, Kevin
Thanks for the replying. Now I could understand the situation, clearly! Let me comment as follows.
Case [1][2]: got an error for "dnf repoquery". but [3] it works. Does Fedora infra team need to modify server settings to fix this error?
- Case [1]
$ sudo vi /etc/yum.repos.d/fedora-rawhide.repo ... [rawhide-source] baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/sourc... ...
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Error: Failed to synchronize cache for repo 'rawhide-source' from 'http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/sourc...': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
When I clicked http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/sourc... by my Firefox, its URL was redirected to http://mirrors.nic.cz/fedora/linux/development/rawhide/source/SRPMS/ and the URL was not found (404). (cz domain is because I was in Czech Republic).
Right. download.fedoraproject.org is a redirect that redirects you to a mirror. Sometimes (especially after things like Alpha release, or rawhide not composing for the last 4 days and working today) it takes a while for mirrors to catch up, so you may be redirected to a mirror thats not up to date.
Note that this is not the default setting. You set it yourself.
Okay, I understood it. I take note that sometimes "Not found (404)" can be happened. Yes, I changed the default setting by myself.
- Case [2]
$ sudo vi /etc/yum.repos.d/fedora-rawhide.repo ... [rawhide-source] metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=$bas... ...
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Error: Failed to synchronize cache for repo 'rawhide-source' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_...': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
I clicked https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_..., and downloaded "metalink" text file by my Firefox. Though several link sites were "not found 404" for the repomd.xml. I could find one available link site, that is the link of [3].
So, like I mentioned above... rawhide hasnt been composing until late yesterday. So, possibly all mirrors got marked out of date... I see some synced now. Is this working for you now?
Unfortunately, for this case [2], it is still not working now.
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Fedora 23 - x86_64 - Updates 56 MB/s | 20 MB 00:00 Error: Failed to synchronize cache for repo 'rawhide-source' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_...': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
- Case [3]
$ sudo vi /etc/yum.repos.d/fedora-rawhide.repo ... [rawhide-source] baseurl=http://ftp.uninett.no/linux/fedora/development/rawhide/source/SRPMS/ ...
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Fedora - Rawhide - Source 3.6 MB/s | 6.1 MB 00:01 Last metadata expiration check: 0:00:00 ago on Tue Mar 29 12:10:32 2016 => OK
ok.
So, in short, I think this is caused by the failure of rawhide to compose for more days than mirrormanager keeps to consider mirrors up to date and should now be cleared up.
I got it. Thanks.
Best, Jun
On Wed, Mar 30, 2016 at 02:52:02AM -0400, Jun Aruga wrote:
https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_..., and downloaded "metalink" text file by my Firefox. Though several link sites were "not found 404" for the repomd.xml. I could find one available link site, that is the link of [3].
So, like I mentioned above... rawhide hasnt been composing until late yesterday. So, possibly all mirrors got marked out of date... I see some synced now. Is this working for you now?
Unfortunately, for this case [2], it is still not working now.
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' Fedora 23 - x86_64 - Updates 56 MB/s | 20 MB 00:00 Error: Failed to synchronize cache for repo 'rawhide-source' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=x86_...': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Looking at the metalink it only lists a few mirrors which have an empty source directory at the wrong location:
development/rawhide/source/SRPMS/repodata
I am not 100% sure were data have been moved but I think it is now at:
development/rawhide/Everything/source/tree/repodata
Somebody did some database changes for other parts of that move and probably the rawhide-source repository still points at the old/wrong location in MirrorManager.
Adrian
On Wed, 30 Mar 2016 10:23:41 +0200 Adrian Reber adrian@lisas.de wrote:
Looking at the metalink it only lists a few mirrors which have an empty source directory at the wrong location:
development/rawhide/source/SRPMS/repodata
I am not 100% sure were data have been moved but I think it is now at:
development/rawhide/Everything/source/tree/repodata
Somebody did some database changes for other parts of that move and probably the rawhide-source repository still points at the old/wrong location in MirrorManager.
This should be fixed now. I went in and manually fixed it to use the right directory.
kevin
This should be fixed now. I went in and manually fixed it to use the right directory.
Thanks, Kevin. I could check that it worked well for "metalink" setting!
$ sudo vi /etc/yum.repos.d/fedora-rawhide.repo
[rawhide-source] ... metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=$bas... ...
$ dnf repoquery --enablerepo=rawhide-source --arch src --whatrequires 'rubygem(acts_as_list)' RPM Fusion for Fedora 23 - Free - Test Updates 2.1 MB/s | 332 kB 00:00 Fedora - Rawhide - Source 8.7 MB/s | 6.3 MB 00:00 Adobe Systems Incorporated 4.2 kB/s | 1.8 kB 00:00 Fedora 23 - x86_64 - Updates 7.1 MB/s | 21 MB 00:02 RPM Fusion for Fedora 23 - Nonfree - Test Updates 625 kB/s | 104 kB 00:00 Last metadata expiration check: 0:00:00 ago on Thu Apr 7 11:06:58 2016.
Best, Jun
----- Original Message -----
From: "Kevin Fenzi" kevin@scrye.com To: infrastructure@lists.fedoraproject.org Sent: Friday, April 1, 2016 8:45:01 PM Subject: Re: Can not download repomd.xml for rawhide-source repo.
On Wed, 30 Mar 2016 10:23:41 +0200 Adrian Reber adrian@lisas.de wrote:
Looking at the metalink it only lists a few mirrors which have an empty source directory at the wrong location:
development/rawhide/source/SRPMS/repodata
I am not 100% sure were data have been moved but I think it is now at:
development/rawhide/Everything/source/tree/repodata
Somebody did some database changes for other parts of that move and probably the rawhide-source repository still points at the old/wrong location in MirrorManager.
This should be fixed now. I went in and manually fixed it to use the right directory.
kevin
infrastructure mailing list infrastructure@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/infrastructure@lists.fedoraprojec...
infrastructure@lists.fedoraproject.org