Bug ID 1177395
Summary gnome-software defunct/hangs after resume from suspend (affects checking for updates)
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.2
Hardware x86-64
OS openSUSE Leap 15.2
Status NEW
Severity Normal
Priority P5 - None
Component GNOME
Assignee gnome-bugs@suse.de
Reporter kwizzz@googlemail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 842334 [details]
output of gnome-software --verbose

Usually, gnome-software initiates the check for updates once a day.
However, after suspending and then resuming my laptop the next day,
gnome-software is kinda dead:

1. No active checks for updates are performed (confirmed via dconf dump
/org/gnome/software/)

2. gnome-software UI hangs anyways:
- listing the Software Repositories results in a forever-and-ever loading
pop-up window
- clicking on Updates shows that last check has been performed yesterday;
clicking on the refresh button ends up in forever-and-ever "checking for
updates"

Attached is output of `gnome-software --verbose`, including my annotations.


This is packagekit status:
..............................................
linux:~ # systemctl status packagekit
��� packagekit.service - PackageKit Daemon
   Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static; vendor
preset: disabled)
   Active: inactive (dead)

Oct 06 13:00:31 localhost.localdomain systemd[1]: Starting PackageKit Daemon...
Oct 06 13:00:31 localhost.localdomain PackageKit[11090]: daemon start
Oct 06 13:00:31 localhost.localdomain systemd[1]: Started PackageKit Daemon.
Oct 06 13:00:31 localhost.localdomain PackageKit[11090]: uid 1001 is trying to
obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
Oct 06 13:00:31 localhost.localdomain PackageKit[11090]: uid 1001 obtained auth
for org.freedesktop.packagekit.system-sources-refresh
Oct 06 13:00:49 linux.fritz.box PackageKit[11090]: refresh-cache transaction
/1_abeeeddb from uid 1001 finished with success after 18176ms
Oct 06 13:00:49 linux.fritz.box PackageKit[11090]: uid 1001 is trying to obtain
org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
Oct 06 13:00:49 linux.fritz.box PackageKit[11090]: uid 1001 obtained auth for
org.freedesktop.packagekit.system-sources-refresh
Oct 06 13:00:53 linux.fritz.box PackageKit[11090]: refresh-cache transaction
/2_dcaabaec from uid 1001 finished with success after 3350ms
Oct 06 13:05:56 linux.fritz.box PackageKit[11090]: daemon quit
..............................................

(My time zone is UTC+2 (for comparing gnome-software's output with above
packagekit status))



After this, I started Package Updater => found updates and installed them.
This is packagekit status after this:
..............................................
linux:~ # systemctl status packagekit
��� packagekit.service - PackageKit Daemon
   Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static; vendor
preset: disabled)
   Active: inactive (dead)

Oct 06 18:21:10 linux.fritz.box PackageKit[16906]: in /2_cbcbecab for
update-packages package
libdevmapper1_03;1.02.163-lp152.7.6.1;x86_64;repo-update was installing fo>
Oct 06 18:21:10 linux.fritz.box PackageKit[16906]: in /2_cbcbecab for
update-packages package liblvm2cmd2_03;2.03.05-lp152.7.6.1;x86_64;repo-update
was installing for u>
Oct 06 18:21:10 linux.fritz.box PackageKit[16906]: in /2_cbcbecab for
update-packages package libopenssl1_1;1.1.1d-lp152.7.3.1;x86_64;repo-update was
installing for uid>
Oct 06 18:21:10 linux.fritz.box PackageKit[16906]: in /2_cbcbecab for
update-packages package
libdevmapper-event1_03;1.02.163-lp152.7.6.1;x86_64;repo-update was install>
Oct 06 18:21:10 linux.fritz.box PackageKit[16906]: in /2_cbcbecab for
update-packages package openssl-1_1;1.1.1d-lp152.7.3.1;x86_64;repo-update was
installing for uid 1>
Oct 06 18:21:10 linux.fritz.box PackageKit[16906]: in /2_cbcbecab for
update-packages package device-mapper;1.02.163-lp152.7.6.1;x86_64;repo-update
was installing for u>
Oct 06 18:21:10 linux.fritz.box PackageKit[16906]: in /2_cbcbecab for
update-packages package lvm2;2.03.05-lp152.7.6.1;x86_64;repo-update was
installing for uid 1001
Oct 06 18:21:10 linux.fritz.box PackageKit[16906]: update-packages transaction
/2_cbcbecab from uid 1001 finished with success after 30586ms
Oct 06 18:21:13 linux.fritz.box PackageKit[16906]: get-updates transaction
/3_dccdebeb from uid 1001 finished with success after 2951ms
Oct 06 18:21:32 linux.fritz.box PackageKit[16906]: daemon quit
..............................................


You are receiving this mail because: