I'm trying to understand how automatic updates work under Zorin.
For the native’s app and Flatpak, the configurations are well done in Gnome Software, and I add this line with sudo visudo: “%admin ALL=(ALL) NOPASSWD: /usr/bin/apt-get update, /usr/bin/apt-get upgrade, /usr/bin/apt-get dist-upgrade”
For this part, it's work as expected, it's update automatically:
On this forum, it is indicated that unattended-upgrades must be set up to allow the automatic updates, but on the Gnome Forum, it’s indicates that updates are done every 14 days.
I tried to set up unattended-upgrades, but when I do the dry-run mode, it always tells me that no updates are possible while system security updates are still pending.
Is it possible to make us an FAQ to explain what we must do / expect and without asking for a password please?
My goal: Auto update like Windows for newbie and have something like we can use in Linux Mint:
This may require a bit of background to answer. In Linux, there are a few package formats available to install software. Zorin OS mainly uses the following ones:
Native packages. Zorin OS is based on Ubuntu, which in turn is based on Debian, which uses its own package format, aptly called Debian packages. These are files with a .deb extension, similar to .rpm for RedHat based distributions, or.msi for Windows.
Flatpak packages are another popular package format that has gained a lot of traction lately. It's compatible with any distribution.
Snap packages work similarly to Flatpak in many regards.
They all have their own pros & cons, but what is important to understand about them that they are downloaded from different sources. You can actually see this through the Software Store when you go to install something, though note that not all packages are available from all sources (it took me a while to find one that was):
Now, the package unattended-upgrades only checks for native packages. The Software Store, on the other hand, has plugins that check for all of them, which can lead to a situation where it's reporting updates available that don't appear elsewhere.
Can you share what those updates are? Most likely, as mentioned, these are Flatpak packages.
Hi,
Thank you for the welcome and your questions.
I brought clarifications/additions to my initial post hoping that my need/problem will be better understood.
Thanks in advance!
The Settings for Gnome Software are only affect Gnome Software. And the Settings in Software & Updates are only affect the Software Updater.
The Settings in Gnome Software are okay. You could theoretically active the ''Automatic Update Notifications'' to show You a Notification when an Update was made but when You don't need it, it is fine. That is up to You.
The Settings in Software & Updates looks so far good, too I think. On ''When there are other updates'' You could set it to a smaller Intervall, but okay. So, why it doesn't automatically install Updates like on Your Picture is shown? I would guess it is because there are Security Updates and Other Updates.