Ubuntu – “Software can’t be installed or removed because the authentication service is not available. ”

authenticationsoftware-center

I have 12.10 ubuntu and when I try to remove / install programs I get notification :

Software can't be installed or removed because the authentication service is not available.

(org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name':  ':1.104'}): org.debian.apt.install-or-remove-packages

When I log in as root user (instead of user account that I regulary use) i have no problems.

Best Answer

It seems like the policy kit authentication agent is not started in startup applications program.

Add the below line to startup applications.

 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1

Also note that this was already raised as a bug and fixed is provided in software-center - 5.3.9

Update your software center to fix the issue.

Here is the bug details