For months, I’ve been having issues with unattended-upgrades not running every day, or thereabouts, with logs often empty for a week or so, or with it not working at all.
I’ve amended the relevant file (50unattended-upgrades) so that only ‘proposed’ are not updated, as well as the relevant part that would only allow updates on AC power, so it should now update on battery power. When I amended the latter, that helped solve the problem, updating automatically more or less every day. The laptops are used every day, but obviously the odd day missed for updates may occur.
My desktop PC is fine, updating mostly every day.
Sincere apologies for a lack of logs. Due to disability and chronic illness, it’s difficult to gather all of the information together. It’s taken quite a while to write this. I know more information is helpful, so please do ask if you require any further information. Please bear with me if you can. Thank you.
Basically, the apt timers show up as having been successful, but the logs for unattended-upgrades are all empty. On a new installation, some log files have not been created. I don’t know if that’s normal. A dry run of unattended-upgrades does create a log file and fill it with information. However, the laptop I’ve recently installed 18.04 and then 22.04 sat for a few days without any further logs, and updates were available when I checked manually.
This has been a problem with all available versions from 18.04, 20.04, 22.04 and 22.10, and on three different laptop brands.
Linux Mint’s automatic updates appear to work well on my laptops, but then its methods for doing so are different. Do any of the Ubuntu flavours work any differently in this regard, even slightly, thus somehow not exhibiting this problem?
I’ve used Ubuntu since 2007, so I can delve deeper and edit files if necessary. The only changes I’ve made are the ones mentioned above (no other tweaks).
I suspect this is an issue where Ubuntu still will not update because the laptop is running on battery power, as my desktop appears to be fine.
I have looked at others’ posts on this subject.
Many thanks for your help. It’s much appreciated.