Fixing “authentication is required to set the network proxy …” on Redhat/CentOS
Some times I have got an GUI pop-up message that says the following, and asks for the root password at login:
authentication is required to set the network proxy used for downloading packages. An
application is attempting to perform an action that requires privileges.
Authentication as the super user is required to perform this action”
I have goggled it a bit but no one actually solved the problem before.
I got fed up and solved the problem my self.
This is how I did it.
First I checked what version of PackageKit I had .
To do this you type:
yum provides PackageKit
[root@test1 ~]# yum provides PackageKit Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: mirror.nsc.liu.se * epel: mirror.nsc.liu.se * extras: mirror.nsc.liu.se * updates: mirror.nsc.liu.se PackageKit-0.5.8-21.el6.x86_64 : Package management service Repo : base Matched from: PackageKit-0.5.8-21.el6.x86_64 : Package management service Repo : installed Matched from: Other : Provides-match: PackageKit
As you see above the package that I had installed were: PackageKit-0.5.8-21.el6.x86_64
I do not know if it’s necessary but I stopped vncserver and xrdp by typing
service vncserver stop | service xrdp stop. see example below:
service vncserver stop | service xrdp stop Stopping xrdp: [ OK ] Stopping xrdp-sesman: [ OK ]
Then I just reinstalled PackageKit by typing:
yum reinstall PackageKit-0.5.8-21.el6.x86_64
Then I restarted the machine because I wanted to know if it was a permanent solution.
shutdown -r now
It wasn’t harder than that.
Enjoy the rest of my tips