dnf metalink issue: Fedora Updates repo

Steven P. Ulrick meow8282 at gmail.com
Sun May 10 00:56:08 UTC 2015


Hello, Everyone
If I run "dnf upgrade" with the "metalink" line uncommented in 
"/etc/yum.repos.d/fedora-updates.repo", the result is as follows:

[root at afolkey2 ~]# dnf upgrade
rpm.livna.org for 20 - x86_64                                   3.8 kB/s 
| 3.4 kB     00:00
Fedora 20 - x86_64 - VirtualBox                               168 kB/s 
|  52 kB     00:00
Open source multiplatform video transcoder          28 kB/s | 7.2 kB     
00:00
RPM Fusion for Fedora 20 - Free - Updates              1.6 MB/s | 480 
kB     00:00
RPM Fusion for Fedora 20 - Nonfree - Updates        599 kB/s | 172 
kB     00:00
Adobe Systems Incorporated                                   12 kB/s | 
1.8 kB     00:00
rpm.livna.org for 20 - x86_64 - Source                    6.5 kB/s | 1.9 
kB     00:00
google-chrome - 64-bit                                            49 
kB/s | 3.7 kB     00:00


Then, after a few minutes of no apparent activity, the following happens:
Error: Failed to synchronize cache for repo 'updates' from 
'https://mirrors.fedoraproject.org/metalink?repo=updates-released-f20&arch=x86_64': 
Cannot download repomd.xml: Cannot download repodata/repomd.xml: All 
mirrors were tried

In that example, "dnf upgrade" fails.

If I run "yum upgrade", the result is as follows:
Loaded plugins: auto-update-debuginfo, langpacks
updates/20/x86_64/metalink        |  14 kB  00:00:00
updates                                        | 4.9 kB 00:00:00
http://mirror.symnds.com/distributions/fedora/updates/20/x86_64/repodata/repomd.xml: 
[Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.

After that last message, a similar message is displayed for each mirror.

In that example, "yum update" succeeds.

BUT, it I comment out 
"metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch" 
in "/etc/yum.repos.d/fedora-updates.repo" and un-comment
"baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/", 
"dnf upgrade" and "yum update" proceed normally.

Is anyone else having this issue? I have checked this list for the past 
few days for this issue, and I have not seen it mentioned.

To sum this up, if I use "baseurl" instead of "metalink" in 
"/etc/yum.repos.d/fedora-updates.repo" "dnf upgrade" succeeds.
If I use "metalink" instead of "baseurl" in 
"/etc/yum.repos.d/fedora-updates.repo" "dnf upgrade" fails.

Thank you,
Steven P. Ulrick


More information about the users mailing list