Bugzilla – Bug 397805
Failed to update system: Authorisation could not be obtained
Last modified: 2009-01-28 00:39:37 UTC
Even after log-in as a root user, when I tries to install update by clicking 'Green Star icon' in system tray / automatic update, I get this message : Failed to update system: Authorisation could not be obtained - Jags
Are you using Gnome or KDE?
I'm using Gnome 2.22 - Jags
Reassigning to the gnome maintainers.
I assume you installed from DVD? Do: ls -ald /var/run/PolicyKit/
hi 'JP Rosevear' Its a Net installation of OpenSUSE 11.0 RC1 but before this I had installed it from DVD and I was getting the same error. Here is the output of ' ls -ald /var/run/PolicyKit/ ' : drwxrwx--- 2 polkituser polkituser 4096 2008-06-03 08:22 /var/run/PolicyKit/ - Jags
I have exactly the same problem on OpenSUSE 11 final 64 bit. When I try to update from the console and start zypper update with root, the output is: "A ZYpp transaction is already in progress. This means, there is another application using the libzypp library for package management running. All such applications must be closed before using this command." lsof | grep libzypp lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /var/lib/gdm/.gvfs Output information may be incomplete. packageki 9273 root mem REG 8,2 3880312 10395 /usr/lib64/libzypp.so.424.2.4 killall packagekitd && zypper update install the critical updates but is not a solution.
killall packagekitd && zypper update do the trick for critical, but i have the same problem with regular update by the 'green star icon" yellow actually... try to add my user to polkituser group no effect...
Assuming you are on GNOME, is PolicyKit-gnome installed? Did you install from the media? Also please report the output of "grep PERM /etc/sysconfig/security"
This also happens to me on a openSUSE 11 x86_64 but only when updating using the tray icon as root. I can update using yast2 directly or using the tray icon as a normal user. It's only when I'm root and trying to update using the try icon that I get the error.
(In reply to comment #8 from JP Rosevear) > Assuming you are on GNOME, is PolicyKit-gnome installed? Did you install from > the media? I installed from the Net, just using the network boot cd and have the same problem. jpschewe@jon:~ >rpm -qa | grep -i policy PolicyKit-doc-0.8-17.1 PolicyKit-kde-0.0.svn810196-5.1 PolicyKit-gnome-libs-0.8-4.1 PolicyKit-0.8-14.1 > Also please report the output of "grep PERM /etc/sysconfig/security" > jpschewe@jon:~ >grep PERM /etc/sysconfig/security CHECK_PERMISSIONS="set" PERMISSION_SECURITY="easy local"
Try installing the package 'PolicyKit-gnome'
Works just fine now. It'd be nice if that got installed by default.
I still have the problem. Installing Policykit-gnome didnt work for me.
PolicyKit-gnome is installed from a live cd or dvd.
I meant that the installation succeeded, but the problem persists.
I've filed this bug originally on 2008-06-06 00:43 MDT, before the OpenSUSE 11.0 final release and as of July 22, 2008 1:04 AM Pacific Time its still there. I just finished installing OpenSUSE 11.0 on a new machine and updated / patched it fully and even after that I get this same error as before. - Jags
I also have this error. I have tried as root and a normal users. Both give me problems.
I installed from the retail DVD, have policykit-gnome installed, and also have problems of this message showing up even when logged in as root.
*** Bug 396940 has been marked as a duplicate of this bug. ***
*** Bug 411061 has been marked as a duplicate of this bug. ***
Some more dirt for the mud valve. I only have this problem when I am 'root'. The regular user works fine after I gave the user permission to update. Some hidden security enhancement? Frank P.S. I am using the $5.00 DVD copy from PCTech101. (Or is it Whole World Foods?)
I started packagekitd as root in the terminal and it said the following: "[WARN 7632] failed to load configuration file: /etc/PolicyKit/PolicyKit.conf:12: parse error: junk after document element " I had this in the config: <?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> <!-- See the manual page PolicyKit.conf(5) for file format --> <config version="0.1"> <match user="luuk"> <return result="yes" /> </match> </config>> So I removed everything after the XML header into this: <?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> <!-- See the manual page PolicyKit.conf(5) for file format --> <config version="0.1"> </config> and it works now.
There are several issues in this bug 1. working when run as normal user but failing when the updater (gpk-update-icon) is run as root. This is not supported and should not be done. The updater does not need to be root, it is designed to be run as a normal user and gains needed permissions through PolicyKit. Running GTK/PolicyKit apps as root is a security risk. In 11.1 the updater will exit when run as root 2. A few reports that PolicyKit-gnome was not installed or a corrupt PolicyKit.conf file and after fixing those issues it worked. Should be all cleared up in 11.1 The remaining issues for cases that have PolicyKit-gnome installed, valid PolicyKit.conf file, and running as regular user are hopefully fixed in 11.1 as well as I am not aware of any reports of this in 11.1. I am closing as fixed in 11.1