SUMMARY Sometimes, when I try to install a system update with Discover, restarting the machine when prompted does not install the updates, and I am prompted to install the same updates again. STEPS TO REPRODUCE 1. Open Discover 2. Click on "Updates" tab. 3. Ensure that "System Updates" are selected for installing. 4. Click "Install All Updates" 5. Wait for the progress bar. 6. When prompted, click "Restart Now" 7. Wait for the machine to restart. 8. Open Discover again. 9. Click on the "Updates" tab. OBSERVED RESULT The offline installer screen is not displayed while the machine is restarting. After restarting, Discover will prompt me to install the same System Updates again. EXPECTED RESULT The offline installer screen should be displayed while the machine is restarting. After restarting, Discover should not prompt me to install the same System Updates again. SOFTWARE/OS VERSIONS Linux: Fedora 35 KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.8-200.fc35.x86_64 (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION I have enabled offline updates. Sometimes this issue can be worked-around by installing system updates using the distro's package manager. Other times, the distro's package manager will report that the system is up-to-date, even though Discover reports that updates are available. This issue only affects "System Update" packages; other packages are not affected.
Addendum: I noticed this morning that a full shut-down of the machine (click "Shut Down" instead of "Restart" when prompted) causes offline updates to install correctly.
I also experience this from time to time. It happened twice this week. I've also seen other people talking about this problem, including on Reddit and also a Brazillian Linux Youtuber in his last review of Neon: https://youtu.be/TWqQi4wj8Q0?t=285 (There are automatic English subtitles). I'll be changing the status to confirmed since there is enough evidence this is not an isolated problem.
IIUC: The boot process checks for a symlink in the root directory called "/system-update" and if present it does the offline update. That symlink is created when you do "Update All" in Discover, however something else removes it sometime later. The symlink seems to disappear when the following appears in the journal: PackageKit[1386]: uid 1001 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0) PackageKit[1386]: uid 1001 obtained auth for org.freedesktop.packagekit.system-sources-refresh PackageKit[1386]: refresh-cache transaction /1735_acdcdcec from uid 1001 finished with success after 7112ms IDK what system-sources-refresh is or does, maybe something to do with the thing in the system tray that checks for updates?
This is a problem on the startup of your distro, I see it's Fedora and they seem to support it, still something to be discussed with them.
(In reply to Aleix Pol from comment #4) > This is a problem on the startup of your distro, I see it's Fedora and they > seem to support it, still something to be discussed with them. This bug also affects KDE Neon. Maybe this bug should be reopened since Neon is a KDE project?
I'm reopening this because this also affects KDE Neon, and since Neon is a KDE project it makes sense to reopen this to keep track of progress on Neon's side.