How to disable automatic updates on Kubuntu 20.04?

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

It looks like this:

    APT::Periodic::Update-Package-Lists "1";
    APT::Periodic::Unattended-Upgrade "1";

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:

apt-config dump APT::Periodic::Unattended-Upgrade
apt-config dump APT::Periodic::Update-Package-Lists

Should return 0 for both commands.