Unable to install or uninstall apps in the Ubuntu software center. I get an authentication error, and then a popup says I cannot do this operation since I don't have permission. (Yet i'm administrator.) I do not know what to do. If anyone could please tell me, how can I fix this? (Please explain, i'm still a bit new to Ubuntu. Only starting to figure out new things at a slow pace) Running: Ubuntu 16.04 LTS Toshiba Chromebook 2 Dual-boot (Crouton)
Asked
Active
Viewed 8,253 times
2 Answers
0
I managed to solve this problem using gksudo. First try in bash
gksudo software-center
It should ask for a password. If this works edit ubuntu-software-center
gksudo gedit /usr/share/applications/ubuntu-software-center.desktop
and edit
Exec=/usr/bin/software-center %u
to
Exec=gksudo /usr/bin/software-center %u
This made my toolbar icon work.
This also works for Synaptic package manager.

Nick M
- 1
0
I got the same thing, just go into the terminal and run sudo su
. Then, enter the software center with software-center
. This worked for me on 14.04, and it should work for you, good luck, fellow Chromebook Linux user!
sudo apt install
instead? Crouton is always a mess, but it's such fun. – brndn2k Mar 15 '17 at 23:00/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
, but I get a warning 'Unable to determine the session we are in'. The policykit is running after the warning, but it doesn't resolve the issue. – alphaloop May 29 '17 at 13:09