Created attachment 1329049 [details] /var/log/dnf.log Description of problem: Upgrading to F27 from F26 using 'dnf system upgrade' gives an error on rebooting with 'dnf system-upgrade reboot' Version-Release number of selected component (if applicable): DNF version: 2.6.3 How reproducible: Once Steps to Reproduce: 1. Start with F26 2. enable updates-testing repo 3. dnf system-upgrade download --enablerepo=updates-testing --releasever=27 4. dnf system-upgrade reboot Actual results: system upgrade to f27 fails - and then reboots back to F26 Expected results: system upgrade to f27 should complete without error Additional info: librepo.LibrepoException: (8, "Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f27&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]", 'An Curl handle error') It appears that 'dnf' is doing a network check for the repo data during this stage - and perhaps the network was not up by that time - so it aborted. Shouldn't dnf do a 'yum localupdate' equivalent operation at this stage - and not rely on the network? Also this metadata sync operation [if there is anything new to download] invalidates any of the checks 'dnf system-upgrade download' did - prior to 'dnf system-upgrade reboot' Subsequent 'dnf system-upgrade reboot' got the upgrade to F27 going without this error
(In reply to Satish Balay from comment #0) > 3. dnf system-upgrade download --enablerepo=updates-testing --releasever=27 Sorry - should have said 'dnf system-upgrade download --releasever=27' the updates-testing repo was enabled manually due to #1490832 From dnf.log 2017-09-20T23:52:54Z DDEBUG Command: dnf --releasever=27 system-upgrade upgrade
*** This bug has been marked as a duplicate of bug 1492036 ***