Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

why sometimes it is sudo locked

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
MagicPoulp
Posts: 431
Joined: 2018-11-05 21:30

why sometimes it is sudo locked

#1 Post by MagicPoulp »

every time I start my computer, I run this:

sudo apt-get update && sudo apt-get -y dist-upgrade

But sometimes, it says the sudo lock is blocked.
Why?

Usually I run the command again until it works. But sometimes, it never works, and I have to reboot and then it works.

I suspect gnome of doing lots of super user activities with the lock. It happened before I installed gnome but not that much.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: why sometimes it is sudo locked

#2 Post by sunrat »

Probably it's fetching package lists in the background. Do you have an update notifier running? I get the same in KDE, Discover is updating it's list shortly after login. A few more seconds later it releases the lock.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

MagicPoulp
Posts: 431
Joined: 2018-11-05 21:30

Re: why sometimes it is sudo locked

#3 Post by MagicPoulp »

Yeah good point. Maybe apt-get update will start things in the background.

But I think it is more the fault of Gnome. I do not agree that gnome has so much power on my computer. It even showed me once a dialog saying it can update the BIOS and other drivers.

Post Reply