03-12-2017, 12:50 AM
03-12-2017, 01:06 AM
Hello JohnD,
which method is producing the error ?
Are you trying to update from Menu>Favorite>Install Updates, or the terminal command -
which method is producing the error ?
Are you trying to update from Menu>Favorite>Install Updates, or the terminal command -
Code:
sudo apt-get update
03-12-2017, 05:58 PM
Hello 
I normally use apt.get or aptitude, but somewhere in the LL forum I have seen the recommendation to use the Update via the GUI, which I did: "Menu > Favorites > Install Updates".
According to your post:
I've now added the current user to the group sudo with this commands:
But after "Menu > Favorites > Update Software" I see the error message:
"System administrator", that's me.
I currently prepare for LPIC 1 and LPIC 2.

(03-12-2017, 01:06 AM)bitsnpcs link Wrote: [ -> ]which method is producing the error ?
I normally use apt.get or aptitude, but somewhere in the LL forum I have seen the recommendation to use the Update via the GUI, which I did: "Menu > Favorites > Install Updates".
According to your post:
(03-12-2017, 01:17 AM)bitsnpcs link Wrote: [ -> ]Code:adduser 'JohnD' sudo
I've now added the current user to the group sudo with this commands:
Code:
su root
adduser username sudo
But after "Menu > Favorites > Update Software" I see the error message:
Quote:Failed to run /usr/scripts/updates-gui as user root.
The underlying authorization mechanism (sudo) does not allow you to run this program. Contact the system administrator.
"System administrator", that's me.

I currently prepare for LPIC 1 and LPIC 2.

03-12-2017, 06:25 PM
I've solved the problem.
Because I have made the mistake to use as the "normal users" account name a name which already exists in the reused partition /home. The normal user from installation of LL has unusual configuration, for example not the GUI which Linux Lite uses.
Therefore after installation I've created another non-root user. He was not able to update software.
I solved the problem in checking to which groups the normal user form installation belongs. Then I logged in with a terminal as root (via "su root") and added the new user to all those groups, which are now these:
Maybe he needed membership in the group "adm"to update software. Now update is in process while I'm writing.
Because I have made the mistake to use as the "normal users" account name a name which already exists in the reused partition /home. The normal user from installation of LL has unusual configuration, for example not the GUI which Linux Lite uses.
Therefore after installation I've created another non-root user. He was not able to update software.
I solved the problem in checking to which groups the normal user form installation belongs. Then I logged in with a terminal as root (via "su root") and added the new user to all those groups, which are now these:
Code:
bsto@besto-desktop:~$ groups
bsto adm cdrom sudo dip plugdev lpadmin sambashare
Maybe he needed membership in the group "adm"to update software. Now update is in process while I'm writing.
03-12-2017, 09:45 PM
Hello JohnD,
I only learned this one recently, I learned it on Debian, for Pi, I checked it on LL.
I am just a early stage beginner in Linux. I try and learn bits and from them build a small base to start learning more.
I wish you much success on your LPIC 1 and LPIC 2
I only learned this one recently, I learned it on Debian, for Pi, I checked it on LL.
I am just a early stage beginner in Linux. I try and learn bits and from them build a small base to start learning more.
I wish you much success on your LPIC 1 and LPIC 2
