Giter Site home page Giter Site logo

Comments (7)

aanno avatar aanno commented on September 24, 2024

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.

aanno avatar aanno commented on September 24, 2024

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.

gordonmessmer avatar gordonmessmer commented on September 24, 2024

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.

MightyCreak avatar MightyCreak commented on September 24, 2024

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.

gordonmessmer avatar gordonmessmer commented on September 24, 2024

@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.

MightyCreak avatar MightyCreak commented on September 24, 2024

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.

ozeszty avatar ozeszty commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.