Bug 444888

Summary: RFE: switch to PackageKit
Product: [Fedora] Fedora Reporter: Rahul Sundaram <sundaram>
Component: system-config-languageAssignee: Parag Nemade <pnemade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: 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:

Description Rahul Sundaram 2008-05-01 15:41:57 UTC
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.

Comment 1 Bug Zapper 2008-05-14 10:28:50 UTC
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

Comment 2 Paul W. Frields 2008-08-10 20:47:15 UTC
Triage here.  Any luck on the patch, or change in status?

Comment 3 Rahul Sundaram 2008-08-10 21:02:53 UTC
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

Comment 4 Tony Fu 2008-09-10 03:15:38 UTC
requested by Jens Petersen (#27995)

Comment 5 Bug Zapper 2008-11-26 02:14:43 UTC
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

Comment 6 Fedora Admin XMLRPC Client 2011-03-04 09:06:52 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Fedora Admin XMLRPC Client 2011-06-16 08:49:13 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Fedora Admin XMLRPC Client 2013-01-28 05:50:03 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 10 Parag Nemade 2014-06-14 11:54:57 UTC
Fixed in system-config-language-2.1.0-1.fc21

Comment 11 Fedora Update System 2014-06-19 13:36:10 UTC
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

Comment 12 Fedora Update System 2014-06-19 22:57:05 UTC
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).

Comment 13 Fedora Update System 2014-06-30 23:21:15 UTC
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.