I want Discover to handle automatic updates of my system (apt & flatpak). How do I enable this via terminal?
My system is Debian based. Flatpak and the Flatpak Discover Backend are installed.
Question 1:
Is setting "System Settings -> Software Update -> Update software: Automatically" enough to keep the system updated even without installing cron-apt or unattended-upgrades or similar packages? (packagekit seems to be installed by default)
Question 2:
I'm aware $ systemsettings kcm_updates opens this exact screen. However, does systemsettings have a way to set certain settings via commandline? If not, how else to set this from the terminal?$ kwriteconfig6 --file PlasmaDiscoverUpdates --group Global --key UseUnattendedUpdates true seems to work. Is that enough?
Question 3:
I've noticed setting the option above to "Automatically" adds the line "UseUnattendedUpdates=true" to ~/.config/PlasmaDiscoverUpdates. Is writing this line enough to enable automatic updates for that user or are other steps involved?
Question 4:
Are there better ways to enable full system updates (meaning apt, flatpack, fwupd and snapd updates if desired) than setting this setting in System Settings?