Linux Lite Forums

Full Version: Not allowed to update
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've tried to update software, but Linux answers that I've not the rights to update the software.
Hello JohnD,

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
Hello Smile

(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. Wink
I currently prepare for LPIC 1 and LPIC 2. Smile



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:

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.
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 Smile


(03-12-2017, 09:45 PM)bitsnpcs link Wrote: [ -> ]I wish you much success on your LPIC 1 and LPIC 2 Smile

We all are learning.

Thank you, very much! Smile

Regards