Bug 617366 - PackageKit-browser-plugin doesn't find PackageKit by dbus
Summary: PackageKit-browser-plugin doesn't find PackageKit by dbus
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: PackageKit   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Richard Hughes
QA Contact: Desktop QE
Keywords: RHELNAK
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-22 20:48 UTC by Hugo Melo
Modified: 2012-02-03 09:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-02-03 09:27:40 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
test file used to get the error. (1.30 KB, text/html)
2010-07-22 21:33 UTC, Hugo Melo
no flags Details

Description Hugo Melo 2010-07-22 20:48:24 UTC
Description of problem:

cat /etc/redhat-release
Red Hat Enterprise Linux Workstation release 6.0 Beta (Santiago)
hugo@REDHAT temp$:rpm -qa \*PackageKit\*

uname -a
Linux localhost.localdomain 2.6.32-44.1.el6.x86_64 #1 SMP Wed Jul 14 18:51:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:

Steps to Reproduce:
1. Open Firefox using: (firefox -g)
2. Open the html example attached (test.html)
3. Click on Lynx for installing it.
Actual results:
It doesn't install the package and prints the error message below in the terminal:
FN:pk-plugin-install.c FC:pk_plugin_install_method_finished_cb LN:927
!!      Error occurred during install: The name org.freedesktop.PackageKit was not provided by any .service files

Expected results:
Expected to install the package.

Additional info:

Comment 2 RHEL Product and Program Management 2010-07-22 21:17:40 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 3 Hugo Melo 2010-07-22 21:33:44 UTC
Created attachment 433815 [details]
test file used to get the error.

Comment 4 John Walicki 2010-07-23 05:51:32 UTC
This feature is important to IBM's deployment of Linux packages.

Comment 5 Richard Hughes 2010-07-23 08:23:42 UTC
Is gnome-packagekit installed? Is the gpk-update-icon process running?  The org.freedesktop.PackageKit service referred to is the session instance, not the system instance. Looking at the debug output, it could be the session instance crashed, although I would have expected it to be a bit more vocal doing so.

Assuming a fresh login session has the gpk-update-icon process running, could you please:

killall gpk-update-icon
gpk-update-icon --verbose

and then do the install in the browser to reproduce the error. This should print a few pages of debugging in the gpk-update-icon process terminal.

If it crashes, then a gdb backtrace (with debuginfo packages installed) would be very useful. Thanks.

Comment 6 Hugo Melo 2010-07-23 19:29:07 UTC
This bug was caused because gpk-update-icon was not running when I first tested the plugin. That happened because I was using KDE for testing it. 
When I saw your comments I went to test using gnome. gpk-update-icon was running and the plugin was able to install the package.
Maybe you want to work on this KDE issue later. It's not a big issue to me and IBM. But testing with gnome I got the old issues I've reported to you in some other tickets like this:
I am submitting another bug report with the information I got with debuginfo.

Comment 7 Hugo Melo 2010-07-23 19:39:18 UTC
If it helps, there's another bug ticket opened:

Comment 8 Hugo Melo 2010-07-23 21:16:19 UTC
I opened another ticket with RHEL6 debug information.

Comment 9 RHEL Product and Program Management 2010-08-18 21:20:03 UTC
Thank you for your bug report. This issue was evaluated for inclusion
in the current release of Red Hat Enterprise Linux. Unfortunately, we
are unable to address this request in the current release. Because we
are in the final stage of Red Hat Enterprise Linux 6 development, only
significant, release-blocking issues involving serious regressions and
data corruption can be considered.

If you believe this issue meets the release blocking criteria as
defined and communicated to you by your Red Hat Support representative,
please ask your representative to file this issue as a blocker for the
current release. Otherwise, ask that it be evaluated for inclusion in
the next minor release of Red Hat Enterprise Linux.

Comment 10 Richard Hughes 2012-02-03 09:27:40 UTC
(In reply to comment #6)
> Maybe you want to work on this KDE issue later. It's not a big issue to me and
> IBM.

Right; there now exists a kpackagekit project that provides the same session interface as the gnome session helper. It's probably not suitable for RHEL6, but upstream it's certainly solved now.

I'll close this NOTABUG now, but you might want to look at how backportable kpackagekit is if you want to use it internally. Thanks.

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