Bug 1038828

Summary: Failed to start dnf makecache
Product: [Fedora] Fedora Reporter: Flóki Pálsson <flokip>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: akozumpl, packaging-team-maint, pnemade, rholy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-17 16:06:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Flóki Pálsson 2013-12-05 22:13:31 UTC
Description of problem:
Failed to start dnf makecache.


Version-Release number of selected component (if applicable):
dnf-0.4.8-1.fc20.noarch

How reproducible:
always 

Steps to Reproduce:
1. # systemctl -l  status dnf-makecache.service
2.
3.

Actual results:
root@localhost ~]# systemctl -l  status dnf-makecache.service
dnf-makecache.service - dnf makecache
   Loaded: loaded (/usr/lib/systemd/system/dnf-makecache.service; static)
   Active: failed (Result: exit-code) since fim 2013-12-05 21:49:08 GMT; 21min ago
  Process: 4395 ExecStart=/usr/bin/dnf -v makecache timer (code=exited, status=1/FAILURE)
 Main PID: 4395 (code=exited, status=1/FAILURE)
   CGroup: /system.slice/dnf-makecache.service

des 05 21:48:13 localhost.localdomain dnf[4395]: dnf version: 0.4.8
des 05 21:48:13 localhost.localdomain dnf[4395]: Making cache files for all metadata files.
des 05 21:48:13 localhost.localdomain dnf[4395]: fedora: has expired and will be refreshed.
des 05 21:48:13 localhost.localdomain dnf[4395]: updates: has expired and will be refreshed.
des 05 21:48:13 localhost.localdomain dnf[4395]: repo: downloading from remote: fedora
des 05 21:49:08 localhost.localdomain dnf[4395]: repo: downloading from remote: updates
des 05 21:49:08 localhost.localdomain dnf[4395]: Error: Problem with repo 'updates': Cannot prepare internal mirrorlist: Curl error: Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f20&arch=x86_64
des 05 21:49:08 localhost.localdomain systemd[1]: dnf-makecache.service: main process exited, code=exited, status=1/FAILURE
des 05 21:49:08 localhost.localdomain systemd[1]: Failed to start dnf makecache.
des 05 21:49:08 localhost.localdomain systemd[1]: Unit dnf-makecache.service entered failed state.
[root@localhost ~]# 



Expected results:
Not failed starting dnf-makecache.service

Additional info:
Installed from final TC4

Comment 1 Ales Kozumplik 2013-12-17 16:06:31 UTC
Floki, thank you for the report but I am afraid there's nothing we can do about it: if DNF fails to reach the repositries it will not be able to build the cache.