Ubuntu – How to disable automatic updates on Kubuntu 20.04

20.04adblockautomatic;kubuntuupdates

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.

Best Answer

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".

Related Question