Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: [root@nostromo ~]# pkcon refresh Command failed Error: org.freedesktop.packagekit.refresh-cache no Usage: pkcon [OPTION...] PackageKit Console Program ... While I admire the simplicity of 'no', perhaps a little more verbosity is needed? (Not sure usage() is appropriate here.) Version-Release number of selected component (if applicable): PackageKit-0.1.11-0.622.20080401git.fc9.x86_64
This is what we've got in git master: [hughsie@hughsie-work gnome-packagekit]$ sudo pkcon update-system Command failed You don't have the necessary privileges for this operation Is this clearer?
Well, there's the logical disconnect of: user -> has privileges root -> does not have privileges I understand that some things necessarily shouldn't be done as root, but is there a reason that you can't reschedule a refresh, or updates, or... as root?
I bet it'll work if you run a full desktop session as root
... That seems odd. After all, PacakgeKit is on the system bus, is it not? For example, if you run *as a user* without $DISPLAY, you get: $ pkcon refresh ** ERROR **: This program cannot start until you start the dbus system service. aborting... Aborted despite the fact that the system service *is* running.
If you run gpk-update-viewer as root from a terminal you get the ability to refresh the list, and review the available updates.. but not apply them. Both the 'Update System' and 'Apply Updates' buttons are greyed out. This is not authorized through sudo its by su. That is certainly an odd situation for the end user to try to understand. Running gpk-update-viewer as their normal user, with polkit auth, works but being root does not. Everything else about the UI functions except applying changes.
Oops. RE comment 5, root did not have polkit auth to make those changes, I thought I had done that before. Once the auth is given to change packages the UI works for root just fine.
I believe my problem is related to this bug. If not, let me know and I can open another one. I just did a clean preview install and logged into a root desktop session, when I selected a package to install and clicked install from the app installer nothing happened. No error, just nothing. raptor> rpm -qa | grep -i packagekit PackageKit-0.1.12-4.20080416git.fc9.x86_64 yum-packagekit-0.1.12-4.20080416git.fc9.x86_64 gnome-packagekit-0.1.12-5.20080416git.fc9.x86_64 PackageKit-libs-0.1.12-4.20080416git.fc9.x86_64 raptor>
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
*** This bug has been marked as a duplicate of 446440 ***