Restarting to Install Updates Hangs on Shutdown

Good Morning All,
This has been an issue I’ve had for months now even after reinstalling the OS multiple time. After clicking “Update All” and downloading system and flatpak updates from the Discover, I click the “Restart and Install Updates” button. The machine starts to shutdown, the screen goes black, but it hangs right at the point of the actual shutdown and/or restart and never shuts down. Just looking at the machine you would think it was off.
To work around this I have to force shutdown the machine by holding the power button down for 10 seconds, then wait a couple seconds and press the power button again to power on it back on. From here the system boots, the updates install and then I go about my business as usual. It’s not a huge issue(just annoying), but I’d like to resolve the issue causing the problem. Below are the machine’s specs. I’m open to any thoughts, ideas, known solutions, etc. to resolve the issue. I searched ask Fedora for the issue, but didn’t see anything that seemed close to my scenario. Thank you in advance. -Rob

Do caps lock or numlock have lights that stop responding? Do you have a way to connect with ssh from another system to run journalctl --no-hostname --follow before updating? If not, try using journalctl --no-hostname -b -N with N chosen to select the session where you started the update.

Pressing the CapsLock does not turn the light on on the button when the machine is at this stage. Here’s the end of the previous sessions log file.

Switch to doing updates with your terminal

sudo dnf update

Overall it is a more reliable way.

3 Likes

Switch to doing updates with your terminal
sudo dnf update
Overall it is a more reliable way.

I agree. It is more reliable and I have started going this route with the system updates and just using Discover to update flatpaks. I guess it’s the perfectionist in me just wanting it to work properly. Generally, if it’s something that can be fixed, I like to fix the issue and document it for others and my future self.

Even that is not required. You could use flatpak update in the terminal as well to see what is being done and avoid the gui totally.

This is great when leads to fixes for an issue that affects lots of users. Linux, however, has to be usable across a wide range of systems, so for older and less widely used systems it can be better to just stick with a robust workaround and move on to issues with broad impact.

I encountered a similar issue, when telling the PC to shut down and update it just enters the state where the screen remains black but the PC lights and the monitor remain on. I have to manually restart the PC with the button and then it turns on, updates and shut downs properly.