[Bug 963318] New: PackageKit is restarted during update interrupting session
http://bugzilla.opensuse.org/show_bug.cgi?id=963318 Bug ID: 963318 Summary: PackageKit is restarted during update interrupting session Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: arvidjaar@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- TW installed with XFCE pattern. Logged in, got notification about pending updates, started installation using update applet. Somewhere in the middle it stuck. Checking what happened it seems that PackageKit update restarted daemon which interrupted current session. Closed current (hung) window, after several seconds got again notification and remaining pending updates were installed. But now I have two versions of PackageKit installed: linux-ffk5:~/PackageKit # rpm -qa PackageKit\* PackageKit-1.0.11-1.1.x86_64 PackageKit-1.0.11-1.2.x86_64 ● packagekit.service - PackageKit Daemon Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static; vendor preset: disabled) Active: inactive (dead) Jan 23 09:59:35 linux-ffk5 [RPM][22396]: Transaction ID 56a324d7 started Jan 23 09:59:37 linux-ffk5 [RPM][22396]: install PackageKit-1.0.11-1.2.x86_64: success Jan 23 09:59:37 linux-ffk5 systemd[1]: Stopping PackageKit Daemon... Jan 23 09:59:37 linux-ffk5 [RPM][22396]: scriptlet %postun(PackageKit-1.0.11-1.1.x86_64) failure: 2 Jan 23 09:59:38 linux-ffk5 systemd[1]: Stopped PackageKit Daemon. Jan 23 09:59:38 linux-ffk5 systemd[1]: Starting PackageKit Daemon... Jan 23 09:59:38 linux-ffk5 PackageKit[22456]: daemon start Jan 23 09:59:38 linux-ffk5 systemd[1]: Started PackageKit Daemon. Jan 23 09:59:58 linux-ffk5 PackageKit[22456]: daemon quit Jan 23 09:59:58 linux-ffk5 packagekitd[22456]: (packagekitd:22456): GLib-CRITICAL **: Source ID 10 was not found when attempting to remove it Not sure what additional information is required or can be collected at this point. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=963318
http://bugzilla.opensuse.org/show_bug.cgi?id=963318#c1
Atri Bhattacharya
http://bugzilla.opensuse.org/show_bug.cgi?id=963318
http://bugzilla.opensuse.org/show_bug.cgi?id=963318#c2
Dominique Leuenberger
* Jan 21 13:53:12 linux-b3rv [RPM][16099]: scriptlet %postun(PackageKit-1.0.11-1.1.x86_64) failure: 2
grmbl... postun does not have ANY command that could potentially fail: postuninstall scriptlet (using /bin/sh): if [ $1 -eq 0 ]; then if test -x /usr/bin/update-mime-database; then /usr/bin/update-mime-database "/usr/share/mime" || true fi fi # Do not restart PackageKit on upgrade - it kills the transaction export DISABLE_RESTART_ON_UPDATE=yes test -n "$FIRST_ARG" || FIRST_ARG="$1" if [ "$FIRST_ARG" -ge 1 ]; then # Package upgrade, not uninstall if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl daemon-reload || : ( test -f /etc/sysconfig/services && . /etc/sysconfig/services test "$YAST_IS_RUNNING" = instsys && exit 0 test "$DISABLE_RESTART_ON_UPDATE" = yes && exit 0 ^^^ Latest here, the script will be ended in an upgrade case anyway... so everything below won't ever run /usr/bin/systemctl try-restart packagekit.service || : ) fi else # package uninstall for service in packagekit.service ; do sysv_service="${service%.*}" rm -f "/var/lib/systemd/migrated/$sysv_service" || : done if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl daemon-reload || : fi fi test -n "$FIRST_ARG" || FIRST_ARG="$1" if [ "$FIRST_ARG" -ge 1 ]; then # Package upgrade, not uninstall if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl daemon-reload || : ( test -f /etc/sysconfig/services && . /etc/sysconfig/services test "$YAST_IS_RUNNING" = instsys && exit 0 test "$DISABLE_RESTART_ON_UPDATE" = yes && exit 0 /usr/bin/systemctl try-restart packagekit-offline-update.service || : ) fi else # package uninstall for service in packagekit-offline-update.service ; do sysv_service="${service%.*}" rm -f "/var/lib/systemd/migrated/$sysv_service" || : done if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl daemon-reload || : fi fi -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=963318
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=963318
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=963318
http://bugzilla.opensuse.org/show_bug.cgi?id=963318#c3
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=963318
Egbert Eich
http://bugzilla.opensuse.org/show_bug.cgi?id=963318
http://bugzilla.opensuse.org/show_bug.cgi?id=963318#c4
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com