Is there a safe way to do uodates automatically? I could store my password in plaintext and thats barbaric but it still doesnt fix the problem that packages and dependecies can break during updtaes without user input if im right. Tho i guess you could write a script that automatically looks for updates and notifies the user.
You can set up a Cron job or systemd timer for the root account to run that command regularly, if it is a non-interactive command!
I’ve never had to interact with system updates in Linux distros beyond saying “yes I want to update” in the last decade. If I didn’t want to, there’s usually a force update flag available to skip the asking part. Would I do this for a server without backups? Absolutely not. For home use? I’ll roll the dice; I have backups even if there’s a couple days of shipping time to get all 12TB mailed to me.
Of course, major distribution releases are a different monster. Fortunately, I don’t deal with those often and when I do, I migrate instead of upgrade.