Issue was solved with the use of ‘sudo dnf distro-sync’. See response from Vladislav below with link to the solution that worked for me.
Issue
I have never posted to a forum before, and I’m kind of a Linux newbie. I’m not even sure of what all the correct terms are, but I’ll do my best to describe my issue.
Last week (Wednesday) I was attempting to upgrade from Fedora 42 to 43 on my Dell XPS laptop (after backing up data, making sure Fedora 42 was up-to-date, and downloading Fedora 43). I used the graphical software updater tool to perform the update as well as the download and upgrade.
After launching the upgrade and while the progress bar was crawling across the screen, thinking that I didn’t need internet connection anymore (since I had downloaded the upgrade) and wanting to move to a different room, I unplugged the wired internet connection from my computer. After a little bit, the progress bar stopped moving after getting to about 70%, and after a while my computer rebooted. I don’t remember what was displayed on the screen after the progress bar stopped updating and before the reboot (wasn’t paying real close attention because I didn’t expect any issues). After the reboot, all I saw on the screen was a black screen with what looked to be a cursor at the top of the screen. It just hung there, forever.
I am able to get a shell login by hitting Ctl-Alt-F3.
My first thought: Did I break the upgrade by unplugging from the internet? I haven’t been able to find an answer. If so, is there a way to rollback to my last good install? If there was (the immediate previous version), I think I might have clobbered it when I tried a refresh, because the second Fedora listed in my boot list (6.18.4-100) doesn’t boot into a graphical interface either. The only other version listed in the boot menu is a rescue version 34. Does the system save any older versions besides the immediately previous one?
I researched the issue fairly extensively but no solution has worked for me:
- My computer does have an Nvidia graphics card, but adding “nomodeset” to the boot parameters did not allow the boot process to complete.
- I did had wine installed that I wasn’t using (because it did not provide what I needed), so I uninstalled wine.
- I checked the authselect setting, and it returned useful data (not failed).
- Using “sudo dnf” commands, I tried refresh, download, and install, and it tells me some f43 packages are already installed and also says “Problem: the operation would result in removing the following protected packages NetworkManager, gnome-shell, grub2-tools-minimal, selinux-policy-targeted, setup, systemd, systemd-udev.
I collected a bunch of data from my computer using the shell login, text files containing the:
- journalctl entries from the failed upgrade
- journalctl entries from one (of many) failed boot
- journalctl entries listing all the boots around the time of the failed install
- Output from “authselect current”
- Output from “cat /etc/fedora/release”. (Reports 43)
- Output from “df -h” (shows /boot directory is 974M and 50% used)
- Output from “lsblk-f”
- Output from “dnf list —installed” (shows a weird mix of fc42 and fc43 files)
- Output from “dnf list —installed kernel” (shows 3 entries, including two fc42 updates and one fc43 )
- Similar file to above with lines containing kernel-tools (can’t remember what command I used to generate this)
- List of failed services (systemd-update-utmp-runlevel.service, loaded but failed ACTIVE and failed SUB)
- Output of ”systemctl status systemd-update-utmp-runlevel.service”
- Output of “hostnamectl”
- Output of the repo file contents
- Output of “uname -r” (reports 6.18.5-100.fc42.x86_64)
I also have a file I called systemctl_default_target.txt that I can’t remember how I generated it that looks like it shows some info about systemd settings.
I also some literal screen shots (taken using my iPad) showing some of the red lines during the boot process (including some kind of dump) as well as a couple of commands I couldn’t figure out how to redirect the output (I only know > and tee).
Can someone please help me fix my issue or at least point me in a direction to help diagnose/fix my issue? I’m really hoping to avoid the pain of a fresh install.
I’m in a tough spot, though, because I can’t figure out how to upload any of the data I collected (if it or other data is needed). My laptop is my only “modern” computer. I have a very old desktop that is Windows 7 and CentOS dual boot that I stopped using (and updating) in mid-2021 when I bought my laptop. I’ve been using my iPad and the CentOS computer for researching this issue, but the CentOS doesn’t have a browser compatible with this forum. The iPad can’t do anything with any of the data, but I am using the iPad to enter this question to the forum.
This is really another subject, but I wouldn’t need it if I didn’t have the above issue…. To try and get a computer with a usable graphical interface, so I could upload these files to my question here on the forum (if needed), I tried creating a live Fedora 42 USB stick using my laptop and livecd-iso-to-disk, but it fails with the message “ATTENTION: A bootable kernel and initial RAM disk could not be found. Exiting….” I looked into how to solve THAT, but I couldn’t figure that out either.
Thank you so much to anyone that can help me troubleshoot and/or fix my issue!