Bug 455001

Summary: Update Applet throws "Failed to update system" message
Product: [Fedora] Fedora Reporter: Denys Vlasenko <vda.linux>
Component: PackageKitAssignee: Robin Norwood <robin.norwood>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: lmacken, richard
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: /tmp/gpk-update-viewer.strace.log
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-11 16:55:45 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:
Attachments:
Description Flags
strace log of gpk-update-viewer invocation none

Description Denys Vlasenko 2008-07-11 11:32:19 UTC
This happens on almost freshly installed Fedora 9. PackageKit Update Applet
0.1.12 icon appears shortly after boot and says "There are 62 updates available"
(in tooltip). I press on it and select "Update system now". The error message
box appears with the following text:

Failed to update system
The error was:
org.freedesktop.packagekit.update-system auth_admin_keep_always

If I run System -> Administration -> Update System program (IOW:
gpk-update-viewer), I see the list of updates available but clicking on [Update
system] button does nothing.

I am attaching the result of 

strace -tt -f -s 999 -o gpk-update-viewer.strace.log gpk-update-viewer

In the log, the moment I press [Update system] button is after this poll() call
- I waited for several seconds before pressing it in order to make it easier to
find it in strace:

...
3351  13:27:30.721970 poll(...
3351  13:27:36.706606 read(7, ....
...

Hope this helps.

Comment 1 Denys Vlasenko 2008-07-11 11:35:00 UTC
Created attachment 311564 [details]
strace log of gpk-update-viewer invocation

Comment 2 Richard Hughes 2008-07-11 12:32:45 UTC
Are you logging in as the root user?

Comment 3 Denys Vlasenko 2008-07-11 13:58:17 UTC
Yes.

Comment 4 Richard Hughes 2008-07-11 16:55:45 UTC
Please see: http://fedoraproject.org/wiki/PackageKitFaq