Comments (7)
I also opened a ticket on the redhat tracking system for this: https://bugzilla.redhat.com/show_bug.cgi?id=1513111
from dnf-plugin-system-upgrade.
Using the alternative upgrade procedure with fedora-upgrade
(https://fedoraproject.org/wiki/Upgrading_Fedora_using_package_manager) has worked for me.
I also updated another fedora host with dnf-plugin-system-upgrade without any problems, i.e. I was not able to reproduce the problem on another machine.
from dnf-plugin-system-upgrade.
The bug appears to be that dnf processes the last metadata update time while in the offline system-upgrade mode. I was able to work around the problem by re-running "dnf system-upgrade download --releasever 27" immediately before "dnf system-upgrade reboot"
from dnf-plugin-system-upgrade.
I have tried to upgrade two of my machines to 27 and I've had the same symptoms twice: I run sudo dnf system-upgrade reboot
, it reboots, fails to upgrade, reboots again, and comes back to Fedora 26.
I've also tried to disable all my extra repos (just in case, since I didn't have to do that when going from 25 to 26), but same result.
I've tried @gordonmessmer's workaround, but it doesn't work either.
from dnf-plugin-system-upgrade.
@MightyCreak Check /var/log/dnf.log and verify that it records a line near the end similar to:
2017-11-16T23:32:49Z DEBUG Cannot download 'https://mirrors.fedoraproject.org/metalink?repo=updates-released-f27&arch=x86_64': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f27&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org].
If you see something else, please open a new bug.
If you see an entry similar to that one, it should indicate which repository's metadata is expiring, and you'll need to check that one for a short "metadata_expire" setting, or another reason it might try to refresh while offline.
from dnf-plugin-system-upgrade.
I got the same kind of error (but in French):
2017-11-20T03:08:52Z DDEBUG Base command: system-upgrade
2017-11-20T03:08:52Z DDEBUG Extra commands: ['--releasever=27', 'system-upgrade', 'upgrade']
2017-11-20T03:09:15Z DEBUG Impossible de télécharger « https://copr-be.cloud.fedoraproject.org/results/taw/Riot/fedora-27-x86_64/ » : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
2017-11-20T03:09:15Z DEBUG dépôt : utilisation du cache pour : adobe-linux-x86_64
2017-11-20T03:09:15Z DEBUG not found deltainfo for: Adobe Systems Incorporated
2017-11-20T03:09:15Z DEBUG not found updateinfo for: Adobe Systems Incorporated
2017-11-20T03:09:15Z DEBUG adobe-linux-x86_64 : utilisation des métadonnées depuis le jeu 26 oct 2017 00:39:15 EDT.
2017-11-20T03:09:15Z DEBUG dépôt : utilisation du cache pour : fedora-steam
2017-11-20T03:09:15Z DEBUG not found deltainfo for: negativo17 - Steam
2017-11-20T03:09:15Z DEBUG not found updateinfo for: negativo17 - Steam
2017-11-20T03:09:15Z DEBUG fedora-steam : utilisation des métadonnées depuis le jeu 16 nov 2017 10:33:07 EST.
2017-11-20T03:09:15Z DEBUG Impossible de télécharger « https://mirrors.fedoraproject.org/metalink?repo=updates-released-f27&arch=x86_64 » : Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f27&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org].
2017-11-20T03:09:15Z DDEBUG Cleaning up.
2017-11-20T03:09:15Z SUBDEBUG
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 229, in _perform
return super(_Handle, self).perform(result)
File "/usr/lib64/python3.6/site-packages/librepo/__init__.py", line 1522, in perform
_librepo.Handle.perform(self, result)
librepo.LibrepoException: (8, "Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f27&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]", 'An Curl handle error')
This repo seems to be obsolete, should we report this bug in the given repo?
https://github.com/rpm-software-management/dnf-plugins-extras
from dnf-plugin-system-upgrade.
This workaround let me perform an upgrade: https://bugzilla.redhat.com/show_bug.cgi?id=1513111#c9
from dnf-plugin-system-upgrade.
Related Issues (20)
- Can't load plugin in f22 with Chinese locale HOT 5
- "Error: system is not ready for upgrade" is not helpful HOT 1
- `sudo dnf system-upgrade reboot ` ran into boot loop HOT 11
- include "reporting problems" section in github's readme HOT 1
- prevent reboot loops
- print system-upgrade version to stdout and dnf.log
- RFE: prompt or cancelable delay on reboot command HOT 4
- Add an 'upgrade' repo so stuff doesn't look like it all came from '@commandline'
- obsolete fedup-dracut-plymouth.noarch too. HOT 2
- UnicodeDecodeError on invalid argument options HOT 2
- Add extra diskspace check
- --refresh should be implied
- crash after sudo dnf system-upgrade reboot HOT 8
- No update or progress indication at all HOT 3
- Upgrade to version 26 process froze
- dnf system-upgrade reboot starts the upgrade but fails
- please create version for el7 and el8 on epel HOT 2
- [WSL] System has not been booted with systemd as init system (PID 1). Can't operate.
- upgrade in offline mode to another PC F37->F38 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnf-plugin-system-upgrade.