Comments (11)
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.
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.
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.
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.
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.
Here's the following log containing 20000+ lines:
https://gist.github.com/yejingchen/47aa4aea6664d8f49c8a
Sorry for the delay :)
from dnf-plugin-system-upgrade.
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.
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.
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.
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.
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)
- Can't load plugin in f22 with Chinese locale HOT 5
- "Error: system is not ready for upgrade" is not helpful HOT 1
- 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
- dnf system-upgrade reboot fails: unable to upgrade from f26 to f27 HOT 7
- 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.