Bug 233846 - Hangs on "Waiting for Authentication"
Summary: Hangs on "Waiting for Authentication"
Status: RESOLVED NOT A BUG
Alias: None
Product: kpackagekit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Steven M. Parrish
URL:
Keywords:
: 237098 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-09 17:01 UTC by Jesse Sweetland
Modified: 2010-09-26 04:16 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Sweetland 2010-04-09 17:01:37 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

Running Kubuntu Lucid Lynx Beta 1 with all updates (now Beta 2 I suppose...)

I select the packages I want to install and click "Apply".  The dialog "Waiting for Authentication" appears.  No authentication dialog comes up.  If I run "ksudo kpackagekit" then everything works fine--it does not prompt me for authentication.  This problem began within the last 3-5 days.

I grep'ed /var/log to see if there was any mention of 'kpackagekit' and I noticed that auth.log showed I had successfully authenticated on April 3.  There was nothing after that.  I can provide log snippets if needed ... I just need to know where to find them.
Comment 1 Jesse Sweetland 2010-04-09 17:05:00 UTC
Usually I click "Close" or "Hide" to get rid of the dialog after a minute or two but this time I let it run ... it finally timed out with a message along the lines of "You have failed to provide correct authentication.  Please check any passwords or account settings" and the details were "The authentication was cancelled due to timeout".
Comment 2 Jesse Sweetland 2010-04-09 17:11:40 UTC
One other thing I noticed ... the package update functionality prompts for a password and proceeds just fine.  I've so far only encountered this when selecting new packages.
Comment 3 Jesse Sweetland 2010-04-15 15:52:02 UTC
I noticed that I get an application crash dialog when trying to set the time via the analog clock widget "unable to authenticate/execute the action: 6".  I get an application crash dialog, and then I try to install the debugging symbols and it hangs waiting for authentication (like above).  Is there some authentication service that is not started?
Comment 4 Jonathan Thomas 2010-07-21 17:33:09 UTC
*** Bug 237098 has been marked as a duplicate of this bug. ***
Comment 5 Jesse Sweetland 2010-07-21 18:18:06 UTC
Update: this went away briefly after a fresh re-install of Kubuntu 10.04 (final), but after a few days it started again for no good reason.  I opened an issue with Ubuntu as well; more details here:

https://bugs.launchpad.net/ubuntu/+source/policykit-kde/+bug/578833

I ended up adding some lines to the policy kit authorization configuration and now it doesn't prompt me for a password at all (since my user is in the "admin" group) but at least it doesn't hang...
Comment 6 Daniel Nicoletti 2010-07-21 22:37:37 UTC
Sorry for the delay in answering this.
This isn't KPackageKit bug, and yet a PolicyKit-kde/KWin which
afaik will be fixed in Kde 4.5.
The problem is that the policykit dialog is another dialog that
can only show up the first time it runs, the second one
KWin prevents it from stealing focus.
Comment 7 Daniel Nicoletti 2010-07-21 22:40:20 UTC
Another important thing is that you MUST have polkit-kde-auth running in you session.
Comment 8 Mars 2010-09-26 04:16:08 UTC
There is a work-around for this bug.

When this bug occurs, KPackageKit shows a dialog that says "Waiting for Authentication".  But unknown to the user, there is a second dialog box, hidden behind the main window of KPackageKit.  This hidden dialog box is asking you to type in the root password.  When you have typed in the password, KPackageKit can proceed.

So if you see "Waiting for Authentication", and can't see a dialog asking for a root password, then minimize the main window, or move it.  This will let you see the dialog asking you for a password.

I have seen this bug in Kubuntu and Fedora.