First off - I'm new to both ubuntu and the forum so please go easy on me this time!
I know questions about unattended-upgrades
are often asked, and this one here looks possibly identical to my question - but I'm trying to confirm that the package is actually running on and updating my server correctly
As in the above thread, on logging on I'm getting the message:
28 updates can be applied immediately.
13 of these updates are standard security updates.
I was surprised and checked the config file /etc/apt/apt.config.d/50unattended-upgrades
, and saw that the options looked correct for security updates (afaik):
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}";
"${distro_id}:${distro_codename}-security";
// Extended Security Maintenance; doesn't necessarily exist for
// every release and this system may not have it installed, but if
// available, the policy for updates is such that unattended-upgrades
// should also install from here by default.
"${distro_id}ESMApps:${distro_codename}-apps-security";
"${distro_id}ESM:${distro_codename}-infra-security";
// "${distro_id}:${distro_codename}-updates";
// "${distro_id}:${distro_codename}-proposed";
// "${distro_id}:${distro_codename}-backports";
};
Running sudo systemctl status unattended-upgrades.service
showed that it was active, and I think ls -lh /var/lib/apt/periodic/
shows me that it has run.
but I was still a bit unsure, so tried to look at the logs (apparently) here: cd /var/log/unattended-upgrades
, but it says I don't have permission, which I find a bit weird as I thought I'd elevated this user to a superusers group. But like I said, I'm real new to Ubuntu, although I know enough to work out on the 10th attempt that sudo cd
doesn't make sense! XD
I'd just really appreciate if someone could help me confirm that unattended-upgrades
is working correctly please. Is it just a case that some updates are being marked as security updates but aren't?
Thanks!