SUMMARY I'm been using the plasma applet to get notified of updates and install them since this thing existed. A few months ago I've upgraded my system to Fedora 34. Since then this applet keeps asking me for a reboot. No matter how much I reboot the system, this is the first notification I get when the system turns on. OBSERVED RESULT Reboot/Restart request is always active. EXPECTED RESULT Just like before, only ask for a restart after installing updates that require a restart. Otherwise only show a notification and the updates icon when there are updates available. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 34 KDE (available in About System) KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2
That's the offline updates feature, but I've never seen it continually say to reboot (after the initial one required to install updates)
Could be related to Bug 443090. Can you paste the contents of `/var/lib/PackageKit/offline-update-competed`?
$ cat /var/lib/PackageKit/offline-update-competed cat: /var/lib/PackageKit/offline-update-competed: No such file or directory $ ls /var/lib/PackageKit/ offline-update-action transactions.db $ cat /var/lib/PackageKit/offline-update-action reboot It seems that file does not exist. But I do have this file with these contents.
Aha, that's helpful. Looks like the problem is that the /var/lib/PackageKit/offline-update-action file didn't get cleaned up after the last offline update transaction. So as a result Discover always thinks yo need to reboot.
Is there anything I can do to resolve this?
You can delete the /var/lib/PackageKit/offline-update-action file to fix this for yourself. That's harmless and should resolve the issue. The deeper question is why that didn't happen automatically, of course. It should have.
Thank you. It's back to normal now.
* deleted the /var/lib/PackageKit/offline-update-action file as instructed * rebooted * installed all updates via Discover -> got asked for reboot * rebooted * Discover reported updates -> the same updates that previously "we're installed" * Installed the updates -> got asked for reboot * checked for updates with `dnf upgrade` -> all the updates "installed" by Discover were not installed. The `/var/lib/PackageKit/offline-update-action` is back containing `reboot` again.
*** Bug 453296 has been marked as a duplicate of this bug. ***
This is flagged for Fedora RPMs, but this issue also occurs on: Operating System: Ubuntu 22.10 KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Kernel Version: 5.19.0-35-generic (64-bit) Discover 5.25.5 Deleted specified file, problem went away. This started when a kernel update was successfully applied, I rebooted as suggested, but the file, apparently, didn't get reset. Been driving me nuts...
Various changed went into both PackageKit and Discover to improve the situation here. Is anyone still experiencing it in Plasma 5.27 with PackageKit 1.2.5 or newer?
I have not experienced this for quite some time now. I have changed laptops and reinstalled Fedora several times since, with newer versions. IMHO we can close this.
I'm not closing it myself since there were more people reporting this besides me. I'll leave this to the devs to decide.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!