#4430 dnf update failed to update
Closed: Fixed None Opened 9 years ago by pnemade.

today on Fedora 20 machine I used "dnf update" command, it downloaded some packages and then failed with error "All mirrors tried". I then run same command again but its failing again

{{{
Call: RPMPayload._mirrorfail_cb: (<dnf.repo.RPMPayload object at 0x46d09d0>, 'Status code: 404 for http://dl.fedoraproject.org/pub/fedora/linux/updates/20/x86_64/selinux-policy-3.12.1-171.fc20.noarch.rpm', 'http://dl.fedoraproject.org/pub/fedora/linux/updates/20/x86_64/selinux-policy-3.12.1-171.fc20.noarch.rpm'), {}
[MIRROR] selinux-policy-3.12.1-171.fc20.noarch.rpm: Status code: 404 for http://dl.fedoraproject.org/pub/fedora/linux/updates/20/x86_64/selinux-policy-3.12.1-171.fc20.noarch.rpm
Call: RPMPayload._end_cb: (<dnf.repo.RPMPayload object at 0x46d09d0>, 2, 'No more mirrors to try - All mirrors were already tried without success'), {}s | 142 MB 455:10 ETA
[FAILED] selinux-policy-3.12.1-171.fc20.noarch.rpm: No more mirrors to try - All mirrors were already tried without success
Call: DeltaPayload._end_cb: (<dnf.drpm.DeltaPayload object at 0x46d0990>, 2, 'Not finished - interrupted by error: Cannot download selinux-policy-3.12.1-171.fc20.noarch.rpm: All mirrors were tried'), {}
Call: RPMPayload._end_cb: (<dnf.repo.RPMPayload object at 0x46d0a10>, 2, 'Not finished - interrupted by error: Cannot download selinux-policy-3.12.1-171.fc20.noarch.rpm: All mirrors were tried'), {}
Error: Error downloading packages:
Cannot download selinux-policy-3.12.1-171.fc20.noarch.rpm: All mirrors were tried
Cleaning up.
}}}

Is this a fedora-infra issue? F20 updates repo synced on Jun 30 6.20 UTC time


I got this too this morning, the updates repo was last synced 'Mon Jun 30 14:14:52 2014'. It is now 7:44 am July 1st and selinux-policy-3.12.1-171 is already gone from the mirrors.

selinux-policy-3.12.1-173.fc20 was pushed to the mirrors in the last push ( 2014-06-30 10:31:03 UTC)

Does a 'dnf clean expire-cache' and re-running pick up the new package?

It did for me of course, but having to force redownload of the MD is no good. If one syncs some information from a repo anywhere (mine was obviously not yet updated with the last push, that only happened some time after), one should be able to still see the packages there for some time after (preferably 48 hours, but this was even less than 24).

I'm guessing you want a change in mash or bodhi here... this is really not an infrastructure issue.

Perhaps discuss the changes you want on the releng list?

Login to comment on this ticket.

Metadata