On Fri, Apr 4, 2025 at 1:29 PM home user via users < users@lists.fedoraproject.org> wrote:
> Good morning, > > I'm planning and preparing to upgrade my workstation from Fedora > Workstation 40 to Fedora Workstation 41. The ipgrade is planned for next > Thursday. I have read the instructions in docs.fedoraproject.org/.... I > see that dnf is getting a major upgrade from dnf4 to dnf5. I have 3 > questions. > > 1. Before the upgrade. > "Proper preparation prevents piss-poor performance" Make a backup of important files and check that there is ample free space on the current filesystems. I keep backups of my home directory, which includes a "System" directory with notes on configuration tweaks and copies of files from /etc/ that have been modified or added. Make a Live USB with the new Fedora version and check that it boots and works properly. A Live USB is very useful for troubleshooting -- when a system doesn't boot I use the Live USB (already known to boot): 1. check drive health 2. examine journals on the non-booting system (man journalctl tells you how to view journals on from a drive other than the one you booted). Particularly if you have older hardware, it is worth checking for Fedora 41 probes for your hardware at <https://linux-hardware.org>. You may find that some older components are not supported in F41 and require either updating hardware or finding 3rd party drivers. Before doing the first step ("dnf system-upgrade download...") of upgrade > proper, do I need to do anything beyond what is stated in the instructions? > Don't forget to fully update the old system (including vendor firmware). Consider cleaning up by removing packages you no longer need and 3rd party packages. It is best to use a basic configuration when booting a new Fedora version. If you do have a problem, there are many other users with the same configuration. That greatly simplifies troubleshooting. > 2. During the upgrade. > After doing the first step ("dnf system-upgrade download...") of upgrade > proper, > and before doing the next step ("dnf system-upgrade reboot") of the > upgrade proper, > do I need to do anything beyond what is stated in the instructions? > Only if there are problems reported > > 3. After the upgrade proper. > After the upgrade proper is done, > and before doing any weekly patches (in f40: "dnf upgrade"), > is there anything I need to do so the weekly patches will work properly, > such as > - database (e.g. the rpm database) changes? > - configuration file changes? > and so on? > Look at `journalctl --no-hostname -b -p 3`. As mentioned in the documentation, check for .rpm[new|old] files. These are usually configuration changes and you may need to choose whether to use the new version (maybe adding local changes). -- George N. White III
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue