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
This commit is contained in:
parent
eb8e0c72ec
commit
8dada2e58b
@ -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 <kalevlember@gmail.com> - 0.9.2-3
|
||||
- Don't restart PackageKit after updating itself
|
||||
|
||||
* Tue May 13 2014 Kalev Lember <kalevlember@gmail.com> - 0.9.2-2
|
||||
- Fix parallel kernel package installation
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user