Prevent sleep during updates?
Posted: Tue Mar 01, 2022 10:05 am
Is there any way to prevent the screen from sleeping (i.e. blanking) and locking while the huge first round of updates are running?
I came back to my computer to check it's progress and the screen was black (even though I had set it to never sleep), after moving the mouse the screen was just a gradient fill that would go back to blank after a few moments, no matter how much I moved the mouse or pressed any keys. There seemed to no way to get back to the GUI to check on the progress of the updates. So, I held the power button in to force it to turn off. That was a mistake.
After powering back on the, the graphical login would no longer load. There was an error (and this is bad of me) about gkp-pam not being able to find some daemon or something. I dunno. I searched for it on these forums and came up with nothing. So, I decided to just wipe the drive and reinstall. (I didn't have anything invested in the previous install- I had just installed and then tried to let it do the first round of updates- which I let it sit overnight while I slept; I full on expected it to be finished by the next morning).
Waiting for it to finish installing again but, I'd really like to get the first round of updates to finish and it seems like letting it sleep is impeding the progress of that. But, even if I'm wrong about that, why, if I've set the display to never sleep on AC power and the computer is also set to never sleep (this is from going to System -> Preferences -> Hardware -> Power Management) is the screen still going blank after I walk away and leave it? That doesn't make sense.
Is there a program or utility like Caffeine (for Windows) or Amphetamine (for Mac) that can be used to prevent the system from sleeping? Thanks.
I came back to my computer to check it's progress and the screen was black (even though I had set it to never sleep), after moving the mouse the screen was just a gradient fill that would go back to blank after a few moments, no matter how much I moved the mouse or pressed any keys. There seemed to no way to get back to the GUI to check on the progress of the updates. So, I held the power button in to force it to turn off. That was a mistake.
After powering back on the, the graphical login would no longer load. There was an error (and this is bad of me) about gkp-pam not being able to find some daemon or something. I dunno. I searched for it on these forums and came up with nothing. So, I decided to just wipe the drive and reinstall. (I didn't have anything invested in the previous install- I had just installed and then tried to let it do the first round of updates- which I let it sit overnight while I slept; I full on expected it to be finished by the next morning).
Waiting for it to finish installing again but, I'd really like to get the first round of updates to finish and it seems like letting it sleep is impeding the progress of that. But, even if I'm wrong about that, why, if I've set the display to never sleep on AC power and the computer is also set to never sleep (this is from going to System -> Preferences -> Hardware -> Power Management) is the screen still going blank after I walk away and leave it? That doesn't make sense.
Is there a program or utility like Caffeine (for Windows) or Amphetamine (for Mac) that can be used to prevent the system from sleeping? Thanks.