[Fedora-i18n-bugs] [Bug 445796] Doesn't install anything despite prompt

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 4 11:21:13 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=445796





--- Comment #14 from Tim Waugh <twaugh at redhat.com>  2009-02-04 06:21:12 EDT ---
Well, it isn't working because I get prompted but no packages are installed as
a result.

Here's how to install a package using PackageKit from Python:

bus = dbus.SessionBus ()
obj = bus.get_object ("org.freedesktop.PackageKit",
                      "/org/freedesktop/PackageKit")
proxy = dbus.Interface (obj, "org.freedesktop.PackageKit")
proxy.InstallPackageName (...)

(See installpackage.py from system-config-printer for a real example, although
that has compatibility code for an older interface as well.)

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




More information about the Fedora-i18n-bugs mailing list