When I start up the computer, after a couple minutes, the software updater comes up and informs me that there are updates for me to perform. However, since I prefer to use the terminal to update my computer, I usually close it. I do "sudo apt update && sudo apt upgrade" in the terminal instead.
However, I tried to turn off these automatic software updater prompts. It is not supposed to automatically prompt me like this. But it still does. Please see the attached screenshot. How do I fix this?
Also, I notice that when I use the software updater, I do not need to enter my password. However, I do need to enter my password in order to update using the terminal. Why does the software updater not need a password? Is it already automatically running with root privileges?
Tap ctl+o to overwrite, enter to save current configuration, then ctl+x to exit the editor.
The GUI software updater uses a Polkit Rule assigned to your user account. When you access via terminal, you are bypassing that, so must elevate privileged commands manually.
The file /etc/apt/apt.conf.d/20auto-upgrades already has this configuration. But the software updater still pops up after a few minutes every time I turn on the computer and have updates pending.
I would prefer to avoid uninstalling the software updater, in case doing so would break my system in some way. For example, I notice in the GUI that there are a lot of zorin-exclusive PPAs and packages listed there. I do not want to mess that up somehow by uninstalling the software updater. Nevertheless, I will consider trying this if I am unable to otherwise solve the problem.
Recently, I have been having a problem. If I try running "sudo apt update" after I start up my computer, it always gives me this error.
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1534 (packagekitd)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/
This lock lasts anywhere from 5 to 20 minutes.
What can I do to fix this problem? Is it related to the fact that I removed "/etc/xdg/autostart/update-notifier.desktop" from autostart?
Did you check if the .desktop file is still removed from /etc/xdg/autostart and your settings in Software&Updates are still as you want? Maybe there was an update and changed something.