http://bugzilla.novell.com/show_bug.cgi?id=580513 http://bugzilla.novell.com/show_bug.cgi?id=580513#c0 Summary: zypper: 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: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: vuntz@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- It's a bit annoying to have zypper unusable because of PackageKit running. It turns out we can suggest to the PackageKit daemon to quit. 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 You probably need to wait a bit (less than 1s anyway) to make sure it quits; if it doesn't, then it means that it's busy doing something. It'd be nice to integrate this in zypper if possible. -- 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.