Giter Site home page Giter Site logo

Comments (11)

kparal avatar kparal commented on June 22, 2024

Please include /var/log/dnf.log and the output of dnf system-upgrade log -1, thanks.

The problem might be that you used python3 to download the packages, but not to upgrade the packages. I advise to try to change the system language to english and then try again.

from dnf-plugin-system-upgrade.

yejingchen avatar yejingchen commented on June 22, 2024

I think I have to make an apology... Because I have just upgraded to 23 by switching system language to English before I make backups of the two files, which means /var/log/dnf.log and dnf system-upgrade log -1 might be no longer the ones containing useful information. dnf system-upgrade log now says there is only one log, so the last one was overridden somehow.

But given the comments (4, 5, 6) of the bug you filed on Red Hat Bugzilla, I suspect this may be a bug in i18n of dnf, althought I actually don't know much about it.

from dnf-plugin-system-upgrade.

kparal avatar kparal commented on June 22, 2024

Hmm, I assume dnf system-upgrade log -1 does not see the original upgrade attempt, because it was not started properly. You can definitely still access it, using journalctl --list-boots, finding the proper one, and then displaying it by journalctl -a -b NUMBER. (e.g. -5 for 5 boots earlier). But since this problem is easy to reproduce, I suppose you don't need to spend too much time on this, the developers should be able to gather necessary information even without your files.

from dnf-plugin-system-upgrade.

yejingchen avatar yejingchen commented on June 22, 2024

I found the one containing the dnf traceback I met when running dnf upgrade command, and I pasted it here. (Not so sure whether ubuntu pastebin is an appropriate place to upload these log files containing 5000+ lines. If you have a better choice, tell me please :)

from dnf-plugin-system-upgrade.

kparal avatar kparal commented on June 22, 2024

That's not the right log, this is the session where you executed dnf system-upgrade reboot, we need the following one (where the upgrade was supposed to happen). As for pasting long text files, github supports a similar service called Gist:
https://help.github.com/articles/about-gists/

from dnf-plugin-system-upgrade.

yejingchen avatar yejingchen commented on June 22, 2024

Here's the following log containing 20000+ lines:
https://gist.github.com/yejingchen/47aa4aea6664d8f49c8a

Sorry for the delay :)

from dnf-plugin-system-upgrade.

maekitalo avatar maekitalo commented on June 22, 2024

I have the same problem. I did the very same. I strictly followed the upgrade recomendation from the wiki. One problem was, that I had to run every dnf command with LANG=C prepended. But unfortunately I did not change the language of my system. It is german. Now it keeps rebooting. How can I access the log when I do not get a shell?

from dnf-plugin-system-upgrade.

maekitalo avatar maekitalo commented on June 22, 2024

Hi again,

I just found the answer to my question: https://github.com/rpm-software-management/dnf-plugin-system-upgrade#in-case-of-boot-problems

from dnf-plugin-system-upgrade.

wgwoods avatar wgwoods commented on June 22, 2024

So the root cause of your reboot loops (i.e. the LANG stuff) should be fixed in commit 4bbbf1e.

Furthermore, commit 7e91ff5 (from PR #44) should prevent any future problems from causing these kinds of reboot loops. So I think we've got this issue fixed.

from dnf-plugin-system-upgrade.

maekitalo avatar maekitalo commented on June 22, 2024

Thank you for the fix.

I solved the issue. These were the steps I did:

  • to break the reboot loop I followed the instructions in the above link. In the grub boot menu pressed 'e' and added this rd.break in the parameters line starting with "linux"
  • after reboot I had my old fedora back. In my case it was 21.
  • I set the system locale using "localectrl set-locale LANG=C"
  • running now "dnf system-upgrade reboot" updated my machine

On my other systems I started the whole process by first setting the system locale. Also when running a root shell (using sudo bash) I set LANG=C before running dnf commands.
The update process is now running and hopefully finishes in the next hours.

from dnf-plugin-system-upgrade.

joshuawilson avatar joshuawilson commented on June 22, 2024

I just ran into this problem and my "localeclt" is set to "en". I was able to break the boot loop with rd.break but I can't figure out how to complete the install/update.

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.