Bug 1306528 - DNF fails to synchronize cache
Summary: DNF fails to synchronize cache
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-11 08:01 UTC by Fujisan
Modified: 2016-02-15 13:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-15 13:05:22 UTC
Type: Bug


Attachments (Terms of Use)

Description Fujisan 2016-02-11 08:01:18 UTC
When I run 'dnf check-update', I get an error saying dnf failed to synchronize cache for repo 'updates' :

$ dnf check-update
Error: Failed to synchronize cache for repo 'updates' from 'http://download.fedoraproject.org/pub/fedora/linux/updates/23/x86_64/': Yum repo downloading error: Downloading error(s): repodata/c49b5dbbcb4aec26fcd2147ec683889472d67054e85ef72898e391d254dfc069-filelists.xml.gz - Cannot download, all mirrors were already tried without success; repodata/fb6a6253a20448a1cf842e96278b6e8d187a330dc63c6f51a90ba0033b9d7514-prestodelta.xml.xz - Cannot download, all mirrors were already tried without success

It works only with option '-C' present.

$ dnf -C check-update
Last metadata expiration check performed 3:32:17 ago on Thu Feb 11 05:24:23 2016.
arprec.x86_64     2.2.18-1.fc23     updates                          
hplip.x86_64      3.15.11-6.fc23    updates                          
[...]


Version-Release number of selected component (if applicable):
dnf list dnf*
Last metadata expiration check performed 0:04:50 ago on Thu Feb 11 08:48:38 2016.
Installed Packages
dnf.noarch                        1.1.6-2.fc23        @updates     
dnf-conf.noarch                   1.1.6-2.fc23        @updates     
dnf-langpacks.noarch              0.15.1-1.fc23       @@commandline
dnf-langpacks-conf.noarch         0.15.1-1.fc23       @@commandline
dnf-plugin-system-upgrade.noarch  0.7.1-1.fc23        @updates     
dnf-plugins-core.noarch           0.1.16-1.fc23       @updates     
dnf-plugins-extras.noarch         0.0.12-1.fc23       @updates     
dnf-yum.noarch                    1.1.6-2.fc23        @updates     
dnfdaemon.noarch                  0.3.11-1.fc23       @updates    

How reproducible:
Always

Comment 1 Michal Domonkos 2016-02-15 13:05:22 UTC
Hi,

This was probably due to the mirror simply being down at the time.  I've just tried this with a .repo config using the very same baseurl and it worked for me (it fetched the metadata successfully).

If you hit this issue again, please consider filing a ticket against Fedora Infrastructure, as described here:
https://fedoraproject.org/wiki/Infrastructure/Tickets


Note You need to log in before you can comment on or make changes to this bug.