How to disable automatic updates on Kubuntu 20.04?
772
I would like to disable automatic updates in kubuntu 20.04. I disabled it on Muon package manager, but Discover still getting updates and showing notifications.
Thank you.
WARNING: Disabling Unattended Upgrades is NOT recommended for most users. Doing so may leave your system vulnerable.
Prerequisite: You need to know how to use a text editor and proper use of sudo before starting. If you are unfamiliar with those, then you really should not be trying to stop Unattended Upgrades yet.
This method won't damage your system.
Open a terminal and carefully edit the following config file: /etc/apt/apt.conf.d/20auto-upgrades
Thanks Boomer, I don't know why is so difficult to find this option in Kubuntu, when is so easy in others distros.
I was looking for that like crazy and after a while that's the first help that really worked, for some reason it's quite normal to Kubuntu have some issues when update, so I needed to disable to stop lost drivers and have kernel issues.
Just to complete the correct answer, after that check if you did it right:
WARNING: Disabling Unattended Upgrades is NOT recommended for most users. Doing so may leave your system vulnerable.
Prerequisite: You need to know how to use a text editor and proper use of sudo before starting. If you are unfamiliar with those, then you really should not be trying to stop Unattended Upgrades yet.
This method won't damage your system.
Open a terminal and carefully edit the following config file:
/etc/apt/apt.conf.d/20auto-upgrades
It looks like this:
Change both "1" to "0". Save and close.
In order to restore Unattended Upgrades, change both "0" back to "1".
Thanks Boomer, I don't know why is so difficult to find this option in Kubuntu, when is so easy in others distros.
I was looking for that like crazy and after a while that's the first help that really worked, for some reason it's quite normal to Kubuntu have some issues when update, so I needed to disable to stop lost drivers and have kernel issues.
Just to complete the correct answer, after that check if you did it right:
Should return 0 for both commands.
Disclaimer: The following answer can potentially damage your system
In Ubuntu 20.04, "Software Updates" is a python script located at
/usr/bin/update-manager
.Just put an exit command at line 2 and wherever it's launched it will do nothing.