0

I currently maintain four different installations of Ubuntu Desktop and Pop!_OS (3 and 1, respectively) around my house on various devices. Because of the frequency of package updates, I find myself greeted with "updates are available" pop-ups on one or more desktops on an almost daily basis, which is tedious. Also, I like the idea of having updates automatically applied as soon as available - especially for desktops.

So for those two reasons, I decided to find a way to configure automatic, immediate, no-prompt update installations on all desktops.

  1. I started with the respective Update GUIs on both desktops, but neither offered that feature - only configure of sources and such.

  2. I then did some googling and learned about the "unattended-upgrades" package which is apparently the intended tool for this exact task. I followed the instructions in this article on one desktop as a trial:

    https://libre-software.net/ubuntu-automatic-updates/

It's been over a week, and I've seen no effects. I am still greeted in the morning an "updates available" dialog, and I still have to manually intervene in order to facilitate the installation.

So is there a better way to accomplish this than sticking apt-get update && apt-get -y upgrade in root's daily cron like a damn caveman?

2
  • 1
    Review the last seven days of /var/log/unattended-upgrades/unattended-upgrades.log to see what has been happening. If you're not sure, edit the week of log into your question above. – user535733 May 23 '19 at 0:22
  • 1
    Also see askubuntu.com/a/934863/19626 for how to check the timestamp of the last run of various apt components. See if update-success and unattended-upgrade-success ran together or hours apart. If you're not sure, post the output in your question. – user535733 May 23 '19 at 0:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.