Bug 1761090 - Updates are not offered in GNOME’s poweroff dialog when PackageKit quit
Summary: Updates are not offered in GNOME’s poweroff dialog when PackageKit quit
Keywords:
Status: CLOSED DUPLICATE of bug 1805265
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 31
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-12 11:45 UTC by Torsten Casselt
Modified: 2020-03-28 22:12 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-28 22:12:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1354074 0 high CLOSED Possible big memory leak in packagekit 2023-11-18 13:05:24 UTC

Description Torsten Casselt 2019-10-12 11:45:30 UTC
Description of problem:

Installing updates at the end of the day via GNOME shutdown dialog is a nice way of not letting updates interrupt your workflow. Since around F29 (see additional info) this does not work reliably and needs to be triggered first via GNOME software which is annoying because it takes some time to refresh the update list and download the new updates for the checkbox to reappear.
The checkbox also appears if I get notified that updates are available. If I do not reboot/shutdown in the next five minutes after that, the checkbox is gone again.

Steps to Reproduce:
1. Open GNOME Software
2. Refresh update tab
3. Open GNOME shutdown dialog, checkbox to install updates on shutdown/reboot exists
4. Wait five minutes (look in journalctl for PackageKit quit)
5. Open GNOME shutdown dialog, checkbox is gone

Actual results:

Updates are not offered after a normal session (used longer than five minutes) on shutdown/reboot even though (security) updates exist.

Expected results:

Updates are always offered after a normal session (used longer than five minutes) on shutdown/reboot if (security) updates exist.

Additional info:

I found the following bug report which started the issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1354074

This is the commit that disabled the PackageKit idle shutdown in 2014:
https://github.com/hughsie/PackageKit/commit/c6eb3555ec5b41e988c111d276764d55fb83bda3

This is the commit that enabled it again to “fix” the bug 1354074:
https://github.com/hughsie/PackageKit/commit/0c84d71509e851db20445c747529bd7d3724f081

This issue was already discussed once in a forum thread:
https://forums.fedoraforum.org/showthread.php?319895-Auto-updates-lost-after-upgrading-to-Fedora-29

Comment 1 Michael Catanzaro 2020-03-28 22:12:20 UTC

*** This bug has been marked as a duplicate of bug 1805265 ***


Note You need to log in before you can comment on or make changes to this bug.