I never got unattended-upgrades to work for me on the machine I tried it on. Best I could tell, it just didn’t do anything. It was frustrating.
But many years back I set up my raspberry pi with a cron job that was effectively (if not literally) apt update&& apt full-upgrade && reboot and that seemed to be working just fine.
I followed a number of guides to try to get it to work. Including doing that. No dice.
I still think it’s probably user error on my part, but I’m still shocked there was no command to effectively “force run an unattended upgrade now” to test that it works correctly.
I never got
unattended-upgrades
to work for me on the machine I tried it on. Best I could tell, it just didn’t do anything. It was frustrating.But many years back I set up my raspberry pi with a cron job that was effectively (if not literally)
apt update && apt full-upgrade && reboot
and that seemed to be working just fine.It broke some things (horrifically) for me because headers didn’t get updated, modules didn’t get rebuilt.
To make it worse, I didn’t set it up. That shit is disabled now. Defunct. Toast. Never again to run.
You need to edit the config file
I followed a number of guides to try to get it to work. Including doing that. No dice.
I still think it’s probably user error on my part, but I’m still shocked there was no command to effectively “force run an unattended upgrade now” to test that it works correctly.
I even set it up using ansible, should work lol
Install the package, edit the config file, maybe enable a systemd service, maybe not even that