You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Not allowed to update

Author (Read 3039 times)

0 Members and 1 Guest are viewing this topic.

Re: Not allowed to update
« Reply #6 on: March 12, 2017, 07:17:09 PM »
 

JohnD

  • Occasional Poster
  • **
  • 76
    Posts
  • Reputation: 10
    • View Profile
    • Linux-Infos von Bernd Storck (German)

  • CPU: Dual core AMD Athlon II X2 240

  • MEMORY: 2Gb

  • VIDEO CARD: NVIDIA C61 [GeForce 7025 / nForce 630a]

  • Kernel: 5.x
I wish you much success on your LPIC 1 and LPIC 2 :)

We all are learning.

Thank you, very much! :)

Regards
"Show up on time, know your lines, and don't bump into the furniture."
 

Re: Not allowed to update
« Reply #5 on: March 12, 2017, 05:45:09 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
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 :)


 
 

Re: Not allowed to update
« Reply #4 on: March 12, 2017, 02:25:03 PM »
 

JohnD

  • Occasional Poster
  • **
  • 76
    Posts
  • Reputation: 10
    • View Profile
    • Linux-Infos von Bernd Storck (German)

  • CPU: Dual core AMD Athlon II X2 240

  • MEMORY: 2Gb

  • VIDEO CARD: NVIDIA C61 [GeForce 7025 / nForce 630a]

  • Kernel: 5.x
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: [Select]
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.
« Last Edit: March 12, 2017, 02:32:58 PM by JohnD »
"Show up on time, know your lines, and don't bump into the furniture."
 

Re: Not allowed to update
« Reply #3 on: March 12, 2017, 01:58:45 PM »
 

JohnD

  • Occasional Poster
  • **
  • 76
    Posts
  • Reputation: 10
    • View Profile
    • Linux-Infos von Bernd Storck (German)

  • CPU: Dual core AMD Athlon II X2 240

  • MEMORY: 2Gb

  • VIDEO CARD: NVIDIA C61 [GeForce 7025 / nForce 630a]

  • Kernel: 5.x
Hello :)

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:
Code: [Select]
adduser 'JohnD' sudo

I've now added the current user to the group sudo with this commands:

Code: [Select]
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. :)



« Last Edit: March 12, 2017, 02:10:51 PM by JohnD »
"Show up on time, know your lines, and don't bump into the furniture."
 

Re: Not allowed to update
« Reply #2 on: March 11, 2017, 08:06:28 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
Hello JohnD,

which method is producing the error ?
Are you trying to update from Menu>Favorite>Install Updates, or the terminal command -

Code: [Select]
sudo apt-get update
 

Not allowed to update
« Reply #1 on: March 11, 2017, 07:50:18 PM »
 

JohnD

  • Occasional Poster
  • **
  • 76
    Posts
  • Reputation: 10
    • View Profile
    • Linux-Infos von Bernd Storck (German)

  • CPU: Dual core AMD Athlon II X2 240

  • MEMORY: 2Gb

  • VIDEO CARD: NVIDIA C61 [GeForce 7025 / nForce 630a]

  • Kernel: 5.x
I've tried to update software, but Linux answers that I've not the rights to update the software.
« Last Edit: April 20, 2017, 06:00:04 AM by Jerry »
"Show up on time, know your lines, and don't bump into the furniture."
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section