From 8dada2e58b3f2665eb59b9e02d9a7047bd362622 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 21 May 2014 15:23:50 +0200 Subject: [PATCH] Don't restart PackageKit after updating itself If PackageKit is currently updating packages, killing the update process causes the whole transaction to fail. https://bugzilla.gnome.org/show_bug.cgi?id=730451 --- PackageKit.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/PackageKit.spec b/PackageKit.spec index 8d9e758..5a54b3a 100644 --- a/PackageKit.spec +++ b/PackageKit.spec @@ -9,7 +9,7 @@ Summary: Package management service Name: PackageKit Version: 0.9.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.freedesktop.org/software/PackageKit/ Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz @@ -239,7 +239,9 @@ popd > /dev/null %systemd_preun packagekit-offline-update.service packagekit.service %postun -%systemd_postun_with_restart packagekit-offline-update.service packagekit.service +# Reload the systemd configuration but do _not_ restart the daemon. Killing the +# update process while it's updating packages causes the transaction to fail. +%systemd_postun packagekit-offline-update.service packagekit.service %postun glib -p /sbin/ldconfig @@ -346,6 +348,9 @@ popd > /dev/null %changelog +* Wed May 21 2014 Kalev Lember - 0.9.2-3 +- Don't restart PackageKit after updating itself + * Tue May 13 2014 Kalev Lember - 0.9.2-2 - Fix parallel kernel package installation