Bug 444888
| Summary: | RFE: switch to PackageKit | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rahul Sundaram <sundaram> |
| Component: | system-config-language | Assignee: | Parag Nemade <pnemade> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | i18n-bugs, smohan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | system-config-language-2.2.0-3.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-30 23:21:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Triage here. Any luck on the patch, or change in status? In the earlier discussion I had with the maintainer, we mistakenly had the impression about the usage of Pirut and it would have been a serious problem then due to the switch to PackageKit. This tool instead actually uses yum API directly. We could still use my patch or a variant to switch to the PackageKit API but that is currently low priority as I understand it requested by Jens Petersen (#27995) This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Fixed in system-config-language-2.1.0-1.fc21 system-config-language-2.2.0-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/system-config-language-2.2.0-2.fc20 Package system-config-language-2.2.0-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing system-config-language-2.2.0-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7516/system-config-language-2.2.0-2.fc20 then log in and leave karma (feedback). system-config-language-2.2.0-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: A local copy of Pirut code is being used in current Rawhide. PackageKit (git version) has the ability to use a dbus session to install packages easily. We should switch to that. Note that the target would be Fedora 10. Sample code: #include <dbus/dbus-glib.h> DBusGConnection *connection; DBusGProxy *proxy; GError *error = NULL; gboolean ret; connection = dbus_g_bus_get (DBUS_BUS_SESSION, NULL); proxy = dbus_g_proxy_new_for_name (connection, "org.freedesktop.PackageKit", "/org/freedesktop/PackageKit", "org.freedesktop.PackageKit"); /* execute sync method */ ret = dbus_g_proxy_call (proxy, "InstallPackageName", &error, G_TYPE_STRING, "lohit-fonts-malayalam", G_TYPE_INVALID, G_TYPE_INVALID); if (!ret) { g_warning ("failed: %s", error->message); g_error_free (error); } Instead of InstallPackageName, it is also possible to use InstallProvideFile and InstallLocalFile. I will submit a patch if I can tweak this package to do the right thing.