Software updates
- Anmelden oder Registrieren um Kommentare zu schreiben
I have a computer with Trisquel 11 mini that is permanently on and used as a remotely controlled photo frame, with no local input interface. I only access it via ssh or vnc throught a reverse ssh tunnel. One problem I have is pop-ups from the software update, that go in front of the photos and remain forever until I connect with vnc and remove them.
The software update interface has a number of options, but I couldn't find any option to do either:
- option 1: search for security updates and apply them immediately, show other updates only in the panel, but no pop-up
- option 2: search for updates daily at a programmed time, apply them immediately, and reboot if needed
Is there a way to do this?
search for updates daily at a programmed time, apply them immediately, and reboot if needed
According to https://documentation.ubuntu.com/server/how-to/software/automatic-updates/ you can edit /etc/apt/apt.conf.d/50unattended-upgrades with administrative privileges (using sudoedit in a terminal) to:
- remove "//" in those lines:
// "${distro_id}:${distro_codename}-updates";
// "${distro_id}:${distro_codename}-proposed";
// "${distro_id}:${distro_codename}-backports";
(...)
//Unattended-Upgrade::Automatic-Reboot "false";
(...)
//Unattended-Upgrade::Automatic-Reboot-WithUsers "true"; - substitute "false" for "true" in the penultimate line listed above.
Thanks, I'll try that. Since this documentation is for ubuntu server, I wonder whether this also disables the GUI or not. I am thinking about this because, on other computers, when I run "sudo apt update" in a terminal, most often, before I have time to run "sudo apt upgrade", I have a pop-up from the GUI asking to install updates.
unattended-upgrades is not server specific, you can use it on any computer that is regularly up.
There is a thread here:
and maybe you can find this as an actual solution:
Regards
As mentioned by Ark74, one can indeed uncheck update-notifier in Startup Applications and set Update Manager to check and install security updates only. It looks like update-notifier will end up auto launching the update-manager GUI whichever other configuration is chosen, as suggested by:
gsettings describe com.ubuntu.update-notifier regular-auto-launch-interval