Mailinglist Archive: opensuse-bugs (4691 mails)

< Previous Next >
[Bug 580510] New: Suggest to PackageKit daemon to quit
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 17 Feb 2010 13:29:33 +0000
  • Message-id: <bug-580510-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=580510

http://bugzilla.novell.com/show_bug.cgi?id=580510#c0


Summary: Suggest to PackageKit daemon to quit
Classification: openSUSE
Product: openSUSE 11.3
Version: Factory
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: YaST2
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: vuntz@xxxxxxxxxx
QAContact: jsrain@xxxxxxxxxx
Found By: ---
Blocker: ---


In all yast tools related to package management, one of the first thing that
should get done is to suggest to the PackageKit daemon to quit if it's running.

Here's how to do it with dbus-send:

1) First call:
dbus-send --system --dest=org.freedesktop.DBus --type=method_call
--print-reply --reply-timeout=200 / org.freedesktop.DBus.NameHasOwner
string:org.freedesktop.PackageKit
It will output "boolean true" if PackageKit is running.

2) If it's running, call:
/bin/dbus-send --system --dest=org.freedesktop.PackageKit --type=method_call
/org/freedesktop/PackageKit org.freedesktop.PackageKit.SuggestDaemonQuit

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >