Bug 799074 - Use package-kit to install dependencies
Summary: Use package-kit to install dependencies
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: authconfig
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-01 18:01 UTC by Stef Walter
Modified: 2012-09-25 20:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 816946 (view as bug list)
Environment:
Last Closed: 2012-09-25 20:27:13 UTC
Type: ---


Attachments (Terms of Use)
Patch which uses package-kit to install dependencies (3.05 KB, patch)
2012-03-01 18:04 UTC, Stef Walter
no flags Details | Diff

Description Stef Walter 2012-03-01 18:01:21 UTC
Currently when selecting different kinds of "User Account Configuration" in authconfig, a message is displayed if a dependency is not installed. 

This patch will add an 'Install' button. Uses package kit to perform the installation.

Comment 1 Stef Walter 2012-03-01 18:04:20 UTC
Created attachment 566903 [details]
Patch which uses package-kit to install dependencies

The patch uses the package-kit dbus interface to do the install. UI and dialogs are displayed by package-kit as child windows of the authconfig gtk window.

I'm not very familiar with Mercurial. Let me know if the patch isn't in an appropriate form.

Comment 2 Tomas Mraz 2012-05-30 15:50:19 UTC
I'm getting Failure using package kit: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/gpk-dbus-service exited with status 1 if I try to test the patch and pushing the Install button.

(also fixed a typo in the patch)

Comment 3 Tomas Mraz 2012-05-30 15:51:12 UTC
Could the problem be that the authconfig runs as root?


Note You need to log in before you can comment on or make changes to this bug.